2021-01-23 13:26:19 +01:00
|
|
|
{ lib, stdenv, fetchurl
|
2019-06-16 21:24:15 +02:00
|
|
|
, getopt
|
2019-06-16 05:51:00 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "bmake";
|
2020-09-07 17:20:05 +02:00
|
|
|
version = "20200902";
|
2019-06-16 05:51:00 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
|
2020-09-07 17:20:05 +02:00
|
|
|
sha256 = "1v1v81llsiy8qbpy38nml1x08dhrihwh040pqgwbwb9zy1108b08";
|
2019-06-16 05:51:00 +02:00
|
|
|
};
|
|
|
|
|
2019-06-16 21:24:15 +02:00
|
|
|
nativeBuildInputs = [ getopt ];
|
2019-06-16 05:51:00 +02:00
|
|
|
|
2019-06-16 21:24:15 +02:00
|
|
|
patches = [
|
|
|
|
./bootstrap-fix.patch
|
|
|
|
./fix-unexport-env-test.patch
|
|
|
|
];
|
2019-06-16 05:51:00 +02:00
|
|
|
|
2021-01-23 13:26:19 +01:00
|
|
|
meta = with lib; {
|
2019-06-16 05:51:00 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|