Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation { 8 version = "unstable-2018-10-18"; 9 pname = "ps2client"; 10 11 src = fetchFromGitHub { 12 owner = "ps2dev"; 13 repo = "ps2client"; 14 rev = "92fcaf18aabf74daaed40bd50d428cce326a87c0"; 15 sha256 = "1rlmns44pxm6dkh6d3cz9sw8v7pvi53r7r5r3kgwdzkhixjj0cdg"; 16 }; 17 18 patchPhase = '' 19 sed -i -e "s|-I/usr/include||g" -e "s|-I/usr/local/include||g" Makefile 20 ''; 21 22 installPhase = '' 23 make PREFIX=$out install 24 ''; 25 26 meta = with lib; { 27 description = "Desktop clients to interact with ps2link and ps2netfs"; 28 homepage = "https://github.com/ps2dev/ps2client"; 29 license = licenses.bsd3; 30 maintainers = [ ]; 31 platforms = platforms.unix; 32 }; 33}