Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub }: 2 3stdenv.mkDerivation rec { 4 pname = "yeshup"; 5 version = "unstable-2013-10-29"; 6 7 src = fetchFromGitHub { 8 owner = "RhysU"; 9 repo = "yeshup"; 10 rev = "5461a8f957c686ccd0240be3f0fd8124d7381b08"; 11 sha256 = "1wwbc158y46jsmdi1lp0m3dlbr9kvzvwxfvzj6646cpy9d6h21v9"; 12 }; 13 14 installPhase = '' 15 mkdir -p $out/bin 16 cp -v yeshup $out/bin 17 ''; 18 19 meta = with lib; { 20 homepage = "https://github.com/RhysU/yeshup"; 21 platforms = platforms.linux; 22 license = licenses.cc-by-sa-30; # From Stackoverflow answer 23 maintainers = with maintainers; [ obadz ]; 24 }; 25}