2019-06-16 04:51:00 +01:00
|
|
|
{ stdenv, fetchurl
|
2019-06-16 20:24:15 +01:00
|
|
|
, getopt
|
2019-06-16 04:51:00 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bmake";
|
2019-06-16 20:24:15 +01:00
|
|
|
version = "20181221";
|
2019-06-16 04:51:00 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
|
2019-06-16 04:51:00 +01:00
|
|
|
sha256 = "0zp6yy27z52qb12bgm3hy1dwal2i570615pqqk71zwhcxfs4h2gw";
|
|
|
|
};
|
|
|
|
|
2019-06-16 20:24:15 +01:00
|
|
|
nativeBuildInputs = [ getopt ];
|
2019-06-16 04:51:00 +01:00
|
|
|
|
2019-06-16 20:24:15 +01:00
|
|
|
patches = [
|
|
|
|
./bootstrap-fix.patch
|
|
|
|
./fix-unexport-env-test.patch
|
|
|
|
];
|
2019-06-16 04:51:00 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|