depot/third_party/nixpkgs/pkgs/development/tools/build-managers/bmake/default.nix
Default email 4fc29cb41f Project import generated by Copybara.
GitOrigin-RevId: 135073a87b7e2c631739f4ffa016e1859b1a425e
2020-05-29 08:06:01 +02:00

28 lines
663 B
Nix

{ stdenv, fetchurl
, getopt
}:
stdenv.mkDerivation rec {
pname = "bmake";
version = "20200506";
src = fetchurl {
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
sha256 = "1qiq6lvlg2hqiq03slv4vzv3bn4cr3w95r3i6m5fa4hgn2dkrhqa";
};
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 ];
};
}