depot/third_party/nixpkgs/pkgs/development/tools/github/cligh/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

33 lines
1.1 KiB
Nix

{ 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 = "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 ];
};
}