summary refs log tree commit diff
path: root/pkgs/tools/system/yeshup/default.nix
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2016-03-15 01:44:24 +0000
committerRobin Gloster <mail@glob.in>2016-03-15 01:44:24 +0000
commit3f45f0948d6fe158bed063adb66850ded0ba4861 (patch)
treeac717689d391d3f5333132fc34e4b2aed829414c /pkgs/tools/system/yeshup/default.nix
parenta9b942c0617b1cd5f0732d05eadad0114a178f37 (diff)
parentd227d9a70e41d65e4e6f4ac75a9d243c5a19fa85 (diff)
downloadnixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar.gz
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar.bz2
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar.lz
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar.xz
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.tar.zst
nixlib-3f45f0948d6fe158bed063adb66850ded0ba4861.zip
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
Diffstat (limited to 'pkgs/tools/system/yeshup/default.nix')
-rw-r--r--pkgs/tools/system/yeshup/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/system/yeshup/default.nix b/pkgs/tools/system/yeshup/default.nix
new file mode 100644
index 000000000000..806d6cc5b945
--- /dev/null
+++ b/pkgs/tools/system/yeshup/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  name = "yeshup-${builtins.substring 0 7 rev}";
+  rev = "5461a8f957c686ccd0240be3f0fd8124d7381b08";
+
+  src = fetchFromGitHub {
+    owner = "RhysU";
+    repo  = "yeshup";
+    inherit rev;
+    sha256 = "1wwbc158y46jsmdi1lp0m3dlbr9kvzvwxfvzj6646cpy9d6h21v9";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    cp -v yeshup $out/bin
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/RhysU/yeshup;
+    platforms = platforms.all;
+    license = licenses.cc-by-sa-30; # From Stackoverflow answer
+    maintainers = with maintainers; [ obadz ];
+  };
+}