2018-03-31 12:24:00 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, d2to1 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "colour";
|
2018-04-04 20:04:23 +02:00
|
|
|
version = "0.1.5";
|
2018-03-31 12:24:00 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 20:04:23 +02:00
|
|
|
sha256 = "af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee";
|
2018-03-31 12:24:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ d2to1 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Converts and manipulates common color representation (RGB, HSV, web, ...)";
|
|
|
|
homepage = https://github.com/vaab/colour;
|
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|