diff --git a/pkgs/development/python-modules/datadiff/default.nix b/pkgs/development/python-modules/datadiff/default.nix new file mode 100644 index 000000000000..72964e3d1f64 --- /dev/null +++ b/pkgs/development/python-modules/datadiff/default.nix @@ -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; + }; + +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index d9628552241c..f0a6d386151e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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";