2018-07-11 18:21:31 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "palettable";
|
2019-10-24 07:47:40 +01:00
|
|
|
version = "3.3.0";
|
2018-07-11 18:21:31 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:40 +01:00
|
|
|
sha256 = "72feca71cf7d79830cd6d9181b02edf227b867d503bec953cf9fa91bf44896bd";
|
2018-07-11 18:21:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
pytest
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A library of color palettes";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://jiffyclub.github.io/palettable/";
|
2018-07-11 18:21:31 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ psyanticy ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|