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";
|
2020-05-04 20:43:52 +01:00
|
|
|
version = "20200402";
|
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";
|
2020-05-04 20:43:52 +01:00
|
|
|
sha256 = "0a49pfmbqb3g1h2r2vwbcb4hdyygq1g9n5y7qab37slfml2g45fg";
|
2019-06-16 04:51:00 +01:00
|
|
|
};
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|