2018-12-21 22:05:00 +00:00
|
|
|
{ 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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://yarg.readthedocs.io";
|
2018-12-21 22:05:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|