1{ stdenv, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "palettable"; 5 version = "3.1.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "0685b223a236bb7e2a900ef7a855ccf9a4027361c8acf400f3b350ea51870f80"; 10 }; 11 12 checkInputs = [ pytest ]; 13 14 checkPhase = '' 15 pytest 16 ''; 17 18 meta = with stdenv.lib; { 19 description = "A library of color palettes"; 20 homepage = https://jiffyclub.github.io/palettable/; 21 license = licenses.mit; 22 maintainers = with maintainers; [ psyanticy ]; 23 }; 24} 25