1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/python-modules/x256/default.nix
2018-12-15 18:33:50 +08:00

21 lines
481 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
pname = "x256";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "00g02b9a6jsl377xb5fmxvkjff3lalw21n430a4zalqyv76dnmgq";
};
meta = with stdenv.lib; {
description = "Return the nearest xterm 256 color code for rgb inputs.";
homepage = https://github.com/magarcia/python-x256;
license = licenses.mit;
maintainers = with maintainers; [ scriptkiddi ];
};
}