pythonPackages.datadiff: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:07:34 -04:00
parent 8bbd8dcc1f
commit 606d7c79e9
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 26 additions and 16 deletions

View File

@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
pname = "datadiff";
version = "1.1.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "f1402701063998f6a70609789aae8dc05703f3ad0a34882f6199653654c55543";
};
buildInputs = [ nose ];
meta = with stdenv.lib; {
description = "DataDiff";
homepage = https://sourceforge.net/projects/datadiff/;
license = licenses.asl20;
};
}

View File

@ -4397,22 +4397,7 @@ in {
weboob = callPackage ../development/python-modules/weboob { };
datadiff = buildPythonPackage rec {
name = "datadiff-1.1.6";
src = pkgs.fetchurl {
url = "mirror://pypi/d/datadiff/datadiff-1.1.6.zip";
sha256 = "f1402701063998f6a70609789aae8dc05703f3ad0a34882f6199653654c55543";
};
buildInputs = with self; [ nose ];
meta = {
description = "DataDiff";
homepage = https://sourceforge.net/projects/datadiff/;
license = licenses.asl20;
};
};
datadiff = callPackage ../development/python-modules/datadiff { };
termcolor = buildPythonPackage rec {
name = "termcolor-1.1.0";