1{ lib, buildPythonPackage, fetchPypi, d2to1 }:
2
3buildPythonPackage rec {
4 pname = "colour";
5 version = "0.1.5";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee";
10 };
11
12 buildInputs = [ d2to1 ];
13
14 meta = with lib; {
15 description = "Converts and manipulates common color representation (RGB, HSV, web, ...)";
16 homepage = "https://github.com/vaab/colour";
17 license = licenses.bsd2;
18 };
19}