1{ stdenv, buildPythonPackage, fetchPypi
2}:
3
4buildPythonPackage rec {
5 pname = "x256";
6 version = "0.0.3";
7
8 src = fetchPypi {
9 inherit pname version;
10 sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
11 };
12
13 doCheck = false;
14
15 meta = with stdenv.lib; {
16 description = "Find the nearest xterm 256 color index for an RGB";
17 homepage = https://github.com/magarcia/python-x256;
18 license = licenses.mit;
19 maintainers = with maintainers; [ Scriptkiddi ];
20 };
21}
22