tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
netboot: modernize
Petr Zahradnik
11 months ago
4e7642cb
61f4f97d
+13
-7
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ne
netboot
package.nix
+13
-7
pkgs/by-name/ne/netboot/package.nix
···
5
bison,
6
lzo,
7
db4,
0
8
}:
9
10
-
stdenv.mkDerivation rec {
11
pname = "netboot";
12
version = "0.10.2";
13
14
src = fetchurl {
15
-
url = "mirror://sourceforge/netboot/netboot-${version}.tar.gz";
16
-
sha256 = "09w09bvwgb0xzn8hjz5rhi3aibysdadbg693ahn8rylnqfq4hwg0";
17
};
18
19
buildInputs = [
···
31
# link: `parseopt.lo' is not a valid libtool object
32
enableParallelBuilding = false;
33
34
-
meta = with lib; {
0
0
0
0
0
35
description = "Mini PXE server";
36
-
maintainers = [ maintainers.raskin ];
37
platforms = [
38
"x86_64-linux"
39
"aarch64-linux"
40
];
41
-
license = lib.licenses.free;
42
};
43
-
}
···
5
bison,
6
lzo,
7
db4,
8
+
versionCheckHook,
9
}:
10
11
+
stdenv.mkDerivation (finalAttrs: {
12
pname = "netboot";
13
version = "0.10.2";
14
15
src = fetchurl {
16
+
url = "mirror://sourceforge/netboot/netboot-${finalAttrs.version}.tar.gz";
17
+
hash = "sha256-4HFIsMOW+owsVCOZt5pq2q+oRoS5fAmR/R2sx/dKgCc=";
18
};
19
20
buildInputs = [
···
32
# link: `parseopt.lo' is not a valid libtool object
33
enableParallelBuilding = false;
34
35
+
nativeInstallCheckInputs = [ versionCheckHook ];
36
+
versionCheckProgram = "${placeholder "out"}/bin/nbdbtool";
37
+
versionCheckProgramArg = "--version";
38
+
doInstallCheck = true;
39
+
40
+
meta = {
41
description = "Mini PXE server";
42
+
maintainers = with lib.maintainers; [ raskin ];
43
platforms = [
44
"x86_64-linux"
45
"aarch64-linux"
46
];
47
+
license = lib.licenses.gpl2Only;
48
};
49
+
})