2018-12-15 10:31:54 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "x256";
|
|
|
|
version = "0.0.3";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
|
|
|
|
};
|
|
|
|
|
2018-12-15 10:35:35 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2018-12-15 10:31:54 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-12-15 10:35:35 +00:00
|
|
|
description = "Find the nearest xterm 256 color index for an RGB";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/magarcia/python-x256";
|
2018-12-15 10:31:54 +00:00
|
|
|
license = licenses.mit;
|
2018-12-15 10:35:35 +00:00
|
|
|
maintainers = with maintainers; [ Scriptkiddi ];
|
2018-12-15 10:31:54 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|