pythonPackages.gocovr: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-16 16:11:43 -04:00 committed by Frederik Rietdijk
parent a8278eab65
commit b5ae82f5b8
2 changed files with 22 additions and 13 deletions

View File

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "gcovr";
version = "2.4";
src = fetchPypi {
inherit pname version;
sha256 = "2c878e03c2eff2282e64035bec0a30532b2b1173aadf08486401883b79e4dab1";
};
meta = with stdenv.lib; {
description = "A Python script for summarizing gcov data";
license = licenses.bsd0;
homepage = http://gcovr.com/;
};
}

View File

@ -2352,19 +2352,7 @@ in {
futures = callPackage ../development/python-modules/futures { };
gcovr = buildPythonPackage rec {
name = "gcovr-2.4";
src = pkgs.fetchurl {
url = "mirror://pypi/g/gcovr/${name}.tar.gz";
sha256 = "2c878e03c2eff2282e64035bec0a30532b2b1173aadf08486401883b79e4dab1";
};
meta = {
description = "A Python script for summarizing gcov data";
license = "BSD";
};
};
gcovr = callPackage ../development/python-modules/gcovr { };
gdal = toPythonModule (pkgs.gdal.override {
pythonPackages = self;