summary refs log tree commit diff
path: root/pkgs/development/python-modules/palettable/default.nix
blob: 6b2113352b4697978199bee7bdeeeed8b817e031 (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
25
{ stdenv, buildPythonPackage, fetchPypi, pytest }:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "0685b223a236bb7e2a900ef7a855ccf9a4027361c8acf400f3b350ea51870f80";
  };

  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 ];
  };
}