diff options
author | nagato.pain <iuns@outlook.fr> | 2018-12-21 14:05:00 -0800 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-01-15 00:05:26 +0100 |
commit | 14840a99b14fd90c3d5cf0216ee95fc8f25000fa (patch) | |
tree | e7589df68c17d31af113a9bf22e07aac430af02d /pkgs/development/python-modules/yarg | |
parent | 2581d044fb06675ad28bce9c76c48c1010afa2a6 (diff) |
pythonPackages.yarg: init at 0.1.9
Diffstat (limited to 'pkgs/development/python-modules/yarg')
-rw-r--r-- | pkgs/development/python-modules/yarg/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yarg/default.nix b/pkgs/development/python-modules/yarg/default.nix new file mode 100644 index 0000000000000..f49ed20b2b923 --- /dev/null +++ b/pkgs/development/python-modules/yarg/default.nix @@ -0,0 +1,27 @@ +{ lib, buildPythonPackage, fetchFromGitHub, requests, nose, mock }: + +buildPythonPackage rec { + pname = "yarg"; + version = "0.1.9"; + + src = fetchFromGitHub { + owner = "kura"; + repo = pname; + rev = version; + sha256 = "1isq02s404fp9whkm8w2kvb2ik1sz0r258iby0q532zw81lga0d0"; + }; + + propagatedBuildInputs = [ requests ]; + + checkInputs = [ nose mock ]; + checkPhase = '' + nosetests + ''; + + meta = with lib; { + description = "An easy to use PyPI client"; + homepage = https://yarg.readthedocs.io; + license = licenses.mit; + maintainers = with maintainers; [ psyanticy ]; + }; +} |