3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/codecov/default.nix

29 lines
632 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi, requests, coverage, unittest2 }:
buildPythonPackage rec {
pname = "codecov";
2020-07-31 09:56:37 +01:00
version = "2.1.8";
src = fetchPypi {
inherit pname version;
2020-07-31 09:56:37 +01:00
sha256 = "0be9cd6358cc6a3c01a1586134b0fb524dfa65ccbec3a40e9f28d5f976676ba2";
};
2018-02-26 18:25:27 +00:00
checkInputs = [ unittest2 ]; # Tests only
propagatedBuildInputs = [ requests coverage ];
postPatch = ''
sed -i 's/, "argparse"//' setup.py
'';
2018-02-26 18:25:27 +00:00
# No tests in archive
doCheck = false;
meta = {
description = "Python report uploader for Codecov";
homepage = "https://codecov.io/";
license = stdenv.lib.licenses.asl20;
};
}