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