diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/palettable')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/palettable/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/palettable/default.nix b/nixpkgs/pkgs/development/python-modules/palettable/default.nix new file mode 100644 index 00000000000..a27ad2172e0 --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/palettable/default.nix @@ -0,0 +1,25 @@ +{ stdenv, buildPythonPackage, fetchPypi, pytest }: + +buildPythonPackage rec { + pname = "palettable"; + version = "3.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "1qp83l4mnwa9rb06m1d45i4691nkbqi82895ck4j6pirb825mz4c"; + }; + + 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 ]; + }; +} + |