mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 06:05:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
29 lines
663 B
Nix
29 lines
663 B
Nix
{ stdenv, fetchurl
|
|
, getopt
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bmake";
|
|
version = "20181221";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.crufty.net/ftp/pub/sjg/${pname}-${version}.tar.gz";
|
|
sha256 = "0zp6yy27z52qb12bgm3hy1dwal2i570615pqqk71zwhcxfs4h2gw";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|