pythonPackages.x256: init at 0.0.3

This commit is contained in:
Fritz Otlinghaus 2018-12-15 18:31:54 +08:00
parent c0f88f637f
commit bf60f8d566
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
pname = "x256";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
};
meta = with stdenv.lib; {
description = "Return the nearest xterm 256 color code for rgb inputs.";
homepage = https://github.com/magarcia/python-x256;
license = licenses.mit;
maintainers = with maintainers; [ scriptkiddi ];
};
}

View file

@ -5066,6 +5066,8 @@ in {
simpy = callPackage ../development/python-modules/simpy { };
x256 = callPackage ../development/python-modules/x256 { };
yattag = callPackage ../development/python-modules/yattag { };
z3 = (toPythonModule (pkgs.z3.override {