Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 721 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6stdenv.mkDerivation rec { 7 pname = "pdpmake"; 8 version = "2.0.3"; 9 10 src = fetchFromGitHub { 11 owner = "rmyorston"; 12 repo = "pdpmake"; 13 rev = version; 14 hash = "sha256-6lLYtBKZTmi+fBkCyDysJS1O37/Z6ir9hU3pX4X1VHQ="; 15 }; 16 17 makeFlags = [ "PREFIX=$(out)" ]; 18 19 doCheck = true; 20 checkTarget = "test"; 21 22 enableParallelBuilding = true; 23 24 meta = with lib; { 25 homepage = "https://github.com/rmyorston/pdpmake"; 26 description = "Public domain POSIX make"; 27 license = licenses.unlicense; 28 maintainers = with maintainers; [ eownerdead ]; 29 mainProgram = "pdpmake"; 30 platforms = platforms.all; 31 badPlatforms = platforms.darwin; # Requires `uimensat` 32 }; 33}