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