Skip to content

Commit 963eec7

Browse files
gradm: 3.1-202102241600 -> 3.1-202111052217 (#368103)
2 parents 6885774 + 7438a7b commit 963eec7

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

pkgs/by-name/gr/gradm/package.nix

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,26 @@
77
pam,
88
}:
99

10-
stdenv.mkDerivation rec {
10+
stdenv.mkDerivation (finalAttrs: {
1111
pname = "gradm";
12-
version = "3.1-202102241600";
12+
version = "3.1-202111052217";
1313

1414
src = fetchurl {
15-
url = "https://grsecurity.net/stable/${pname}-${version}.tar.gz";
16-
sha256 = "02ni34hpggv00140p9gvh0lqi173zdddd2qhfi96hyr1axd5pl50";
15+
url = "https://grsecurity.net/stable/gradm-${finalAttrs.version}.tar.gz";
16+
hash = "sha256-JFkpDzZ6R8ihzk6i7Ag1l5nqM9wV7UQ2Q5WWzogoT7k=";
1717
};
1818

1919
nativeBuildInputs = [
2020
bison
2121
flex
2222
];
23+
2324
buildInputs = [ pam ];
2425

2526
enableParallelBuilding = true;
2627

2728
makeFlags = [
28-
"DESTDIR=$(out)"
29+
"DESTDIR=${placeholder "out"}"
2930
"LEX=${flex}/bin/flex"
3031
"MANDIR=/share/man"
3132
"MKNOD=true"
@@ -48,14 +49,14 @@ stdenv.mkDerivation rec {
4849

4950
postInstall = "rmdir $out/dev";
5051

51-
meta = with lib; {
52+
meta = {
5253
description = "grsecurity RBAC administration and policy analysis utility";
5354
homepage = "https://grsecurity.net";
54-
license = licenses.gpl2Only;
55-
platforms = platforms.linux;
56-
maintainers = with maintainers; [
55+
license = lib.licenses.gpl2Only;
56+
platforms = lib.platforms.linux;
57+
maintainers = with lib.maintainers; [
5758
thoughtpolice
5859
joachifm
5960
];
6061
};
61-
}
62+
})

0 commit comments

Comments
 (0)