at 24.11-pre 658 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 requests, 6 nose, 7 mock, 8}: 9 10buildPythonPackage rec { 11 pname = "yarg"; 12 version = "0.1.9"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "kura"; 17 repo = pname; 18 rev = version; 19 sha256 = "1isq02s404fp9whkm8w2kvb2ik1sz0r258iby0q532zw81lga0d0"; 20 }; 21 22 propagatedBuildInputs = [ requests ]; 23 24 nativeCheckInputs = [ 25 nose 26 mock 27 ]; 28 checkPhase = '' 29 nosetests 30 ''; 31 32 meta = with lib; { 33 description = "An easy to use PyPI client"; 34 homepage = "https://yarg.readthedocs.io"; 35 license = licenses.mit; 36 maintainers = with maintainers; [ psyanticy ]; 37 }; 38}