depot/third_party/nixpkgs/pkgs/by-name/pd/pdpmake/package.nix
Default email ae2dc6aea6 Project import generated by Copybara.
GitOrigin-RevId: 4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0
2024-10-11 07:15:48 +02: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`
};
}