2017-12-20 22:10:45 +00:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonApplication, pyxdg, PyGithub }:
|
2017-03-15 23:57:09 +00:00
|
|
|
|
2017-12-20 22:10:45 +00:00
|
|
|
buildPythonApplication rec {
|
2017-03-15 23:57:09 +00:00
|
|
|
name = "cligh-${version}";
|
|
|
|
version = "0.3";
|
|
|
|
|
|
|
|
doCheck = false; # no tests
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CMB";
|
|
|
|
repo = "cligh";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
|
|
|
|
};
|
|
|
|
|
2017-12-20 22:10:45 +00:00
|
|
|
propagatedBuildInputs = [ pyxdg PyGithub ];
|
2017-03-15 23:57:09 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://the-brannons.com/software/cligh.html;
|
2017-03-15 23:57:09 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|