forked from mirrors/nixpkgs
pythonPackages.colored: refactor move to python-modules
This commit is contained in:
parent
8b5d562d25
commit
0dafa8e8be
24
pkgs/development/python-modules/colored/default.nix
Normal file
24
pkgs/development/python-modules/colored/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "colored";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1r1vsypk8v7az82d66bidbxlndx1h7xd4m43hpg1a6hsjr30wrm3";
|
||||
};
|
||||
|
||||
# No proper test suite
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://gitlab.com/dslackw/colored;
|
||||
description = "Simple library for color and formatting to terminal";
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
|
@ -2462,18 +2462,7 @@ in {
|
|||
|
||||
hypothesis = callPackage ../development/python-modules/hypothesis { };
|
||||
|
||||
colored = buildPythonPackage rec {
|
||||
name = "colored-${version}";
|
||||
version = "1.1.5";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/c/colored/${name}.tar.gz";
|
||||
sha256 = "1r1vsypk8v7az82d66bidbxlndx1h7xd4m43hpg1a6hsjr30wrm3";
|
||||
};
|
||||
|
||||
# No proper test suite
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
colored = callPackage ../development/python-modules/colored { };
|
||||
|
||||
xdis = buildPythonPackage rec {
|
||||
name = "xdis-${version}";
|
||||
|
|
Loading…
Reference in a new issue