depot/third_party/nixpkgs/pkgs/development/python-modules/x256/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

25 lines
518 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
}:
buildPythonPackage rec {
pname = "x256";
version = "0.0.3";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
};
doCheck = false;
meta = with lib; {
description = "Find the nearest xterm 256 color index for an RGB";
homepage = "https://github.com/magarcia/python-x256";
license = licenses.mit;
maintainers = with maintainers; [ Scriptkiddi ];
};
}