summary refs log tree commit diff
path: root/pkgs/development/python-modules/colour/default.nix
blob: f7419666f53599fd8bd92c1b0ac959e7d5098187 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, buildPythonPackage, fetchPypi, d2to1 }:

buildPythonPackage rec {
  pname = "colour";
  version = "0.1.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "af20120fefd2afede8b001fbef2ea9da70ad7d49fafdb6489025dae8745c3aee";
  };

  buildInputs = [ d2to1 ];

  meta = with lib; {
    description = "Converts and manipulates common color representation (RGB, HSV, web, ...)";
    homepage = "https://github.com/vaab/colour";
    license = licenses.bsd2;
  };
}