8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
28 lines
663 B
Nix
28 lines
663 B
Nix
{ stdenv, fetchurl
|
|
, getopt
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bmake";
|
|
version = "20200318";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
|
|
sha256 = "10rcgv0hd5axm2b41a5xaig6iqbpyqfp2q7llr7zc3mnbacwaz35";
|
|
};
|
|
|
|
nativeBuildInputs = [ getopt ];
|
|
|
|
patches = [
|
|
./bootstrap-fix.patch
|
|
./fix-unexport-env-test.patch
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Portable version of NetBSD 'make'";
|
|
homepage = "http://www.crufty.net/help/sjg/bmake.html";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ thoughtpolice ];
|
|
};
|
|
}
|