2021-04-05 15:23:46 +00:00
|
|
|
{ lib, stdenv, fetchurl, bison, lzo, db4 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-12-06 16:07:01 +00:00
|
|
|
pname = "netboot";
|
2021-08-05 21:33:18 +00:00
|
|
|
version = "0.10.2";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "mirror://sourceforge/netboot/netboot-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "09w09bvwgb0xzn8hjz5rhi3aibysdadbg693ahn8rylnqfq4hwg0";
|
|
|
|
};
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
buildInputs = [ bison lzo db4 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
|
2022-02-10 20:34:41 +00:00
|
|
|
# Disable parallel build, errors:
|
|
|
|
# link: `parseopt.lo' is not a valid libtool object
|
|
|
|
enableParallelBuilding = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Mini PXE server";
|
|
|
|
maintainers = [ maintainers.raskin ];
|
2023-03-15 16:39:30 +00:00
|
|
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.free;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|