depot/pkgs/by-name/pd/pdpmake/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

29 lines
714 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "pdpmake";
version = "2.0.1";
src = fetchFromGitHub {
owner = "rmyorston";
repo = "pdpmake";
rev = version;
hash = "sha256-E9AcWwMfPp2sn4k/gv2gjBuqQ6k8J0TSfncMKuXh/Cc=";
};
makeFlags = [ "PREFIX=$(out)" ];
doCheck = true;
checkTarget = "test";
enableParallelBuilding = true;
meta = with lib; {
homepage = "https://github.com/rmyorston/pdpmake";
description = "Public domain POSIX make";
license = licenses.unlicense;
maintainers = with maintainers; [ eownerdead ];
mainProgram = "pdpmake";
platforms = platforms.all;
badPlatforms = platforms.darwin; # Requires `uimensat`
};
}