@@ -0,0 +1,32 @@
1+{ stdenv, fetchFromGitHub, pythonPackages }:
2+
3+buildPythonApplication rec {
4+ name = "cligh-${version}";
5+ version = "0.3";
6+
7+ doCheck = false; # no tests
8+
9+ src = fetchFromGitHub {
10+ owner = "CMB";
11+ repo = "cligh";
12+ rev = "v${version}";
13+ sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
14+ };
15+
16+ propagatedBuildInputs = with pythonPackages; [ pyxdg PyGithub ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = "http://the-brannons.com/software/cligh.html";
20+ description = "A simple command-line interface to the facilities of Github";
21+ longDescription = ''
22+ Cligh is a simple command-line interface to the facilities of GitHub.
23+ It is written by Christopher Brannon chris@the-brannons.com. The
24+ current version is 0.3, released July 23, 2016. This program is still
25+ in the early stage of development. It is by no means feature-complete.
26+ A friend and I consider it useful, but others may not.
27+ '';
28+ platforms = platforms.all;
29+ license = licenses.bsd3;
30+ maintainers = [ maintainers.jhhuh ];
31+ };
32+}