1{ lib, fetchFromGitHub, buildPythonApplication, pyxdg, pygithub }:
2
3buildPythonApplication rec {
4 pname = "cligh";
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 = [ pyxdg pygithub ];
17
18 meta = with lib; {
19 homepage = "http://the-brannons.com/software/cligh.html";
20 description = "A simple command-line interface to the facilities of Github";
21 mainProgram = "cligh";
22 longDescription = ''
23 Cligh is a simple command-line interface to the facilities of GitHub.
24 It is written by Christopher Brannon chris@the-brannons.com. The
25 current version is 0.3, released July 23, 2016. This program is still
26 in the early stage of development. It is by no means feature-complete.
27 A friend and I consider it useful, but others may not.
28 '';
29 platforms = platforms.all;
30 license = licenses.bsd3;
31 maintainers = [ maintainers.jhhuh ];
32 };
33}