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