Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 631 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, requests, coverage, unittest2 }: 2 3buildPythonPackage rec { 4 pname = "codecov"; 5 version = "2.0.15"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "8ed8b7c6791010d359baed66f84f061bba5bd41174bf324c31311e8737602788"; 10 }; 11 12 checkInputs = [ unittest2 ]; # Tests only 13 14 propagatedBuildInputs = [ requests coverage ]; 15 16 postPatch = '' 17 sed -i 's/, "argparse"//' setup.py 18 ''; 19 20 # No tests in archive 21 doCheck = false; 22 23 meta = { 24 description = "Python report uploader for Codecov"; 25 homepage = https://codecov.io/; 26 license = stdenv.lib.licenses.asl20; 27 }; 28}