nixpkgs/pkgs/development/python-modules/palettable/default.nix

25 lines
533 B
Nix
Raw Normal View History

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