2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, getopt
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "bmake";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "20200629";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1cxmsz48ap6gpwx5qkkvvfsiqxc7zpn8gzmhvc1jsfha68195ms5";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|