nixpkgs/pkgs/development/python-modules/keep/default.nix

37 lines
700 B
Nix
Raw Normal View History

2020-08-31 14:03:14 +00:00
{ stdenv
, buildPythonPackage
, fetchPypi
, PyGithub
, terminaltables
, click
, requests
}:
buildPythonPackage rec {
pname = "keep";
version = "2.9";
src = fetchPypi {
inherit pname version;
sha256 = "0902kcvhbmy5q5n0ai1df29ybf87qaljz306c5ssl8j9xdjipcq2";
};
propagatedBuildInputs = [
click
requests
terminaltables
PyGithub
];
# no tests
pythonImportsCheck = [ "keep" ];
meta = with stdenv.lib; {
homepage = "https://github.com/orkohunter/keep";
description = "A Meta CLI toolkit: Personal shell command keeper and snippets manager";
platforms = platforms.all;
license = licenses.mit;
maintainers = with maintainers; [ ris ];
};
}