mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
34 lines
748 B
Nix
34 lines
748 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pdpmake";
|
|
version = "2.0.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rmyorston";
|
|
repo = "pdpmake";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-ivRXZxm9RAWSmNfiV7BhVzVFsBKuMMpKjub8ADinYyc=";
|
|
};
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/rmyorston/pdpmake";
|
|
description = "Public domain POSIX make";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = with lib.maintainers; [ eownerdead ];
|
|
mainProgram = "pdpmake";
|
|
platforms = lib.platforms.all;
|
|
badPlatforms = lib.platforms.darwin; # Requires `uimensat`
|
|
};
|
|
})
|