3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.termcolor: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 13:09:56 -04:00
parent 606d7c79e9
commit ec00d1aa54
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
2 changed files with 22 additions and 14 deletions

View file

@ -0,0 +1,21 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "termcolor";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b";
};
meta = with stdenv.lib; {
description = "Termcolor";
homepage = https://pypi.python.org/pypi/termcolor;
license = licenses.mit;
};
}

View file

@ -4399,20 +4399,7 @@ in {
datadiff = callPackage ../development/python-modules/datadiff { };
termcolor = buildPythonPackage rec {
name = "termcolor-1.1.0";
src = pkgs.fetchurl {
url = "mirror://pypi/t/termcolor/termcolor-1.1.0.tar.gz";
sha256 = "1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b";
};
meta = {
description = "Termcolor";
homepage = https://pypi.python.org/pypi/termcolor;
license = licenses.mit;
};
};
termcolor = callPackage ../development/python-modules/termcolor { };
html2text = buildPythonPackage rec {
name = "html2text-2016.9.19";