python.pkgs.ansicolors : move to separate expression
This commit is contained in:
parent
9b313484de
commit
4206da05b0
19
pkgs/development/python-modules/ansicolors/default.nix
Normal file
19
pkgs/development/python-modules/ansicolors/default.nix
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "ansicolors";
|
||||||
|
version = "1.0.2";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "02lmh2fbqcwr98cq13l9ql0fvyad1dcb3ap3c5xq9qwjp45m6r3n";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = "https://github.com/verigak/colors/";
|
||||||
|
description = "ANSI colors for Python";
|
||||||
|
license = licenses.isc;
|
||||||
|
maintainers = with maintainers; [ copumpkin ];
|
||||||
|
};
|
||||||
|
}
|
@ -309,23 +309,7 @@ in {
|
|||||||
|
|
||||||
alembic = callPackage ../development/python-modules/alembic {};
|
alembic = callPackage ../development/python-modules/alembic {};
|
||||||
|
|
||||||
ansicolors = buildPythonPackage rec {
|
ansicolors = callPackage ../development/python-modules/ansicolors {};
|
||||||
name = "ansicolors-${version}";
|
|
||||||
version = "1.0.2";
|
|
||||||
|
|
||||||
src = self.fetchPypi {
|
|
||||||
pname = "ansicolors";
|
|
||||||
inherit version;
|
|
||||||
sha256 = "02lmh2fbqcwr98cq13l9ql0fvyad1dcb3ap3c5xq9qwjp45m6r3n";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = "https://github.com/verigak/colors/";
|
|
||||||
description = "ANSI colors for Python";
|
|
||||||
license = licenses.isc;
|
|
||||||
maintainers = with maintainers; [ copumpkin ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
aniso8601 = buildPythonPackage rec {
|
aniso8601 = buildPythonPackage rec {
|
||||||
name = "aniso8601-${version}";
|
name = "aniso8601-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user