fscryptctl: replace rec with finalAttrs
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
4e49df05ed
commit
840e9ca127
@ -5,14 +5,14 @@
|
|||||||
pandoc,
|
pandoc,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fscryptctl";
|
pname = "fscryptctl";
|
||||||
version = "1.2.0";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "google";
|
owner = "google";
|
||||||
repo = "fscryptctl";
|
repo = "fscryptctl";
|
||||||
rev = "v${version}";
|
rev = "v${finalAttrs.version}";
|
||||||
hash = "sha256-5suEdSpX8alDkSnSnyiIjUmZq98eK0ZPVAtDKhOs65c=";
|
hash = "sha256-5suEdSpX8alDkSnSnyiIjUmZq98eK0ZPVAtDKhOs65c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -39,10 +39,10 @@ stdenv.mkDerivation rec {
|
|||||||
As fscryptctl is intended for advanced users, you should read the kernel
|
As fscryptctl is intended for advanced users, you should read the kernel
|
||||||
documentation for filesystem encryption before using fscryptctl.
|
documentation for filesystem encryption before using fscryptctl.
|
||||||
'';
|
'';
|
||||||
inherit (src.meta) homepage;
|
inherit (finalAttrs.src.meta) homepage;
|
||||||
changelog = "https://github.com/google/fscryptctl/blob/master/NEWS.md";
|
changelog = "https://github.com/google/fscryptctl/blob/master/NEWS.md";
|
||||||
license = lib.licenses.asl20;
|
license = lib.licenses.asl20;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
maintainers = with lib.maintainers; [ primeos ];
|
maintainers = with lib.maintainers; [ primeos ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user