pythonPackages.termcolor: refactor move to python-modules
This commit is contained in:
parent
606d7c79e9
commit
ec00d1aa54
21
pkgs/development/python-modules/termcolor/default.nix
Normal file
21
pkgs/development/python-modules/termcolor/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4399,20 +4399,7 @@ in {
|
|||||||
|
|
||||||
datadiff = callPackage ../development/python-modules/datadiff { };
|
datadiff = callPackage ../development/python-modules/datadiff { };
|
||||||
|
|
||||||
termcolor = buildPythonPackage rec {
|
termcolor = callPackage ../development/python-modules/termcolor { };
|
||||||
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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
html2text = buildPythonPackage rec {
|
html2text = buildPythonPackage rec {
|
||||||
name = "html2text-2016.9.19";
|
name = "html2text-2016.9.19";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user