pythonPackages.yarg: init at 0.1.9

This commit is contained in:
nagato.pain 2018-12-21 14:05:00 -08:00 committed by Robert Schütz
parent 2581d044fb
commit 14840a99b1
2 changed files with 29 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -748,6 +748,8 @@ in {
WazeRouteCalculator = callPackage ../development/python-modules/WazeRouteCalculator { };
yarg = callPackage ../development/python-modules/yarg { };
# packages defined here
aafigure = callPackage ../development/python-modules/aafigure { };