2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, d2to1 }:
|
2018-03-31 10:24:00 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "colour";
|
2018-04-04 18:04:23 +00:00
|
|
|
version = "0.1.5";
|
2018-03-31 10:24:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 18:04:23 +00:00
|
|
|
sha256 = "af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee";
|
2018-03-31 10:24:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ d2to1 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-31 10:24:00 +00:00
|
|
|
description = "Converts and manipulates common color representation (RGB, HSV, web, ...)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/vaab/colour";
|
2018-03-31 10:24:00 +00:00
|
|
|
license = licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|