about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/palettable/default.nix
blob: dce72bb74bb5951da66b7a2efd4cd02efbfba197 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, buildPythonPackage, fetchPypi, pytest }:

buildPythonPackage rec {
  pname = "palettable";
  version = "3.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "72feca71cf7d79830cd6d9181b02edf227b867d503bec953cf9fa91bf44896bd";
  };

  checkInputs = [ pytest ];

  checkPhase = ''
    pytest
  '';

  meta = with lib; {
    description = "A library of color palettes";
    homepage = "https://jiffyclub.github.io/palettable/";
    license = licenses.mit;
    maintainers = with maintainers; [ psyanticy ];
  };
}