pythonPackages.palettable:init at 3.1.1

This commit is contained in:
Assassinkin 2018-07-11 18:21:31 +01:00
parent c7c3c1663f
commit 7487510d04
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
buildPythonPackage rec {
pname = "palettable";
version = "3.1.1";
src = fetchPypi {
inherit pname version;
sha256 = "0685b223a236bb7e2a900ef7a855ccf9a4027361c8acf400f3b350ea51870f80";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest
'';
meta = with stdenv.lib; {
description = "A library of color palettes";
homepage = https://jiffyclub.github.io/palettable/;
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}

View File

@ -340,6 +340,8 @@ in {
outcome = callPackage ../development/python-modules/outcome {}; outcome = callPackage ../development/python-modules/outcome {};
palettable = callPackage ../development/python-modules/palettable { };
pdf2image = callPackage ../development/python-modules/pdf2image { }; pdf2image = callPackage ../development/python-modules/pdf2image { };
pdfminer = callPackage ../development/python-modules/pdfminer_six { }; pdfminer = callPackage ../development/python-modules/pdfminer_six { };