nixpkgs/pkgs/development/python-modules/x256/default.nix
2018-12-29 18:57:18 +08:00

22 lines
495 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
pname = "x256";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
};
doCheck = false;
meta = with stdenv.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 ];
};
}