Skip to content

Commit

Permalink
pythonPackages.codecov: init at 2.0.9 (#27018)
Browse files Browse the repository at this point in the history
* pythonPackages.codecov: init at 2.0.9

* Update default.nix
  • Loading branch information
Zimmi48 authored and FRidh committed Jul 3, 2017
1 parent 1336fde commit 753aab1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions pkgs/development/python-modules/codecov/default.nix
@@ -0,0 +1,26 @@
{ stdenv, buildPythonPackage, fetchPypi, requests, coverage, unittest2 }:

buildPythonPackage rec {
pname = "codecov";
version = "2.0.9";
name = "${pname}-${version}";

src = fetchPypi {
inherit pname version;
sha256 = "037h4dcl8xshlq3rj8409p11rpgnyqrhlhfq8j34s94nm0n1h76v";
};

buildInputs = [ unittest2 ]; # Tests only

propagatedBuildInputs = [ requests coverage ];

postPatch = ''
sed -i 's/, "argparse"//' setup.py
'';

meta = {
description = "Python report uploader for Codecov";
homepage = https://codecov.io/;
license = stdenv.lib.licenses.asl20;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -3809,6 +3809,8 @@ in {
};
};

codecov = callPackage ../development/python-modules/codecov {};

cogapp = buildPythonPackage rec {
version = "2.3";
name = "cogapp-${version}";
Expand Down

0 comments on commit 753aab1

Please sign in to comment.