nixpkgs/pkgs/development/tools/build-managers/bmake/default.nix

29 lines
661 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl
, getopt
}:
stdenv.mkDerivation rec {
pname = "bmake";
2020-09-07 17:20:05 +02:00
version = "20200902";
src = fetchurl {
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
2020-09-07 17:20:05 +02:00
sha256 = "1v1v81llsiy8qbpy38nml1x08dhrihwh040pqgwbwb9zy1108b08";
};
nativeBuildInputs = [ getopt ];
patches = [
./bootstrap-fix.patch
./fix-unexport-env-test.patch
];
meta = with 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 ];
};
}