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