about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/github/cligh/default.nix
blob: 29976464479b52f53a33df60774c829ad8778154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ lib, fetchFromGitHub, buildPythonApplication, pyxdg, pygithub }:

buildPythonApplication rec {
  pname = "cligh";
  version = "0.3";

  doCheck = false; # no tests

  src = fetchFromGitHub {
    owner = "CMB";
    repo = "cligh";
    rev = "v${version}";
    sha256 = "0d1fd78rzl2n75xpmy1gnxh1shvcs4qm0j4qqszqvfriwkg2flxn";
  };

  propagatedBuildInputs = [ pyxdg pygithub ];

  meta = with lib; {
    homepage = "http://the-brannons.com/software/cligh.html";
    description = "A simple command-line interface to the facilities of Github";
    mainProgram = "cligh";
    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 ];
  };
}