2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, pytest }:
|
2018-07-11 18:21:31 +01:00
|
|
|
|
|
|
|
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 ];
|
2020-08-25 03:07:09 +01:00
|
|
|
|
2018-07-11 18:21:31 +01:00
|
|
|
checkPhase = ''
|
2020-08-25 03:07:09 +01:00
|
|
|
pytest
|
2018-07-11 18:21:31 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-11 18:21:31 +01:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|