pythonPackages.colour: Move to own file

This commit is contained in:
Elis Hirwing
2018-03-31 12:24:00 +02:00
committed by Frederik Rietdijk
parent ece5086d0e
commit 921934f458
2 changed files with 20 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi, d2to1 }:
buildPythonPackage rec {
pname = "colour";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "0w1j43l76zw10dvs2kk7jz7kqj2ss7gfgfdxyls27pckwin89gxb";
};
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;
};
}