Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 25 lines 532 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, pytest }: 2 3buildPythonPackage rec { 4 pname = "palettable"; 5 version = "3.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1qp83l4mnwa9rb06m1d45i4691nkbqi82895ck4j6pirb825mz4c"; 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