summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2017-03-16 00:57:09 +0100
committerJörg Thalheim <joerg@thalheim.io>2017-03-16 01:00:21 +0100
commit26045faaaf3d6893518b329de1b8cb0c2f2673e5 (patch)
tree644e8dc722e0ca78a1857281d5df666584ce2eee /pkgs
parent09cfbc8cc33bb00c14bede0ee8f941200d0c69be (diff)
downloadnixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar.gz
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar.bz2
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar.lz
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar.xz
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.tar.zst
nixlib-26045faaaf3d6893518b329de1b8cb0c2f2673e5.zip
cligh: init at 0.3
fixes #23914
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/tools/github/cligh/default.nix32
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/tools/github/cligh/default.nix b/pkgs/development/tools/github/cligh/default.nix
new file mode 100644
index 000000000000..09df42b2a45b
--- /dev/null
+++ b/pkgs/development/tools/github/cligh/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub, pythonPackages }:
+
+buildPythonApplication rec {
+  name = "cligh-${version}";
+  version = "0.3";
+
+  doCheck = false; # no tests
+
+  src = fetchFromGitHub {
+    owner = "CMB";
+    repo = "cligh";
+    rev = "v${version}";
+    sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
+  };
+
+  propagatedBuildInputs = with pythonPackages; [ pyxdg PyGithub ];
+
+  meta = with stdenv.lib; {
+    homepage = "http://the-brannons.com/software/cligh.html";
+    description = "A simple command-line interface to the facilities of Github";
+    longDescription = ''
+        Cligh is a simple command-line interface to the facilities of GitHub.
+        It is written by Christopher Brannon chris@the-brannons.com. The
+        current version is 0.3, released July 23, 2016. This program is still
+        in the early stage of development. It is by no means feature-complete.
+        A friend and I consider it useful, but others may not.
+    '';
+    platforms = platforms.all;
+    license = licenses.bsd3;
+    maintainers = [ maintainers.jhhuh ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 2f0ffdd7de2f..7e87d92ec3b1 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -12960,6 +12960,8 @@ with pkgs;
 
   clfswm = callPackage ../applications/window-managers/clfswm { };
 
+  cligh = callPackage ../development/tools/github/cligh {};
+
   clipgrab = callPackage ../applications/video/clipgrab { };
 
   clipit = callPackage ../applications/misc/clipit { };