nixpkgs/pkgs/development/tools/github/cligh/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

33 lines
1.0 KiB
Nix

{ stdenv, 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 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 ];
};
}