about summary refs log tree commit diff
path: root/pkgs/by-name/pd
diff options
context:
space:
mode:
authorEOWNERDEAD <eownerdead@disroot.org>2024-01-01 02:39:56 +0900
committerEOWNERDEAD <eownerdead@disroot.org>2024-01-01 02:48:22 +0900
commit06408189a3c83fc952eb4a04b4b3b2aa37d838d5 (patch)
tree3ec8e1a27d5acea1193f742f38ca654565a1bb12 /pkgs/by-name/pd
parentcd3a15fdd67051b0f53915d0bbde26c6d6ede206 (diff)
pdpmake: init at 1.4.1
Diffstat (limited to 'pkgs/by-name/pd')
-rw-r--r--pkgs/by-name/pd/pdpmake/package.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/by-name/pd/pdpmake/package.nix b/pkgs/by-name/pd/pdpmake/package.nix
new file mode 100644
index 0000000000000..808de7bb755d7
--- /dev/null
+++ b/pkgs/by-name/pd/pdpmake/package.nix
@@ -0,0 +1,29 @@
+{ lib, stdenv, fetchFromGitHub }:
+stdenv.mkDerivation rec {
+  pname = "pdpmake";
+  version = "1.4.1";
+
+  src = fetchFromGitHub {
+    owner = "rmyorston";
+    repo = "pdpmake";
+    rev = version;
+    hash = "sha256-N9MT+3nE8To0ktNTPT9tDHkKRrn4XsTYiTeYdBk9VtI=";
+  };
+
+  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`
+  };
+}