2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2018-12-15 10:31:54 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with 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
|
|
|
};
|
|
|
|
}
|
|
|
|
|