Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, lib, buildPythonPackage, fetchPypi, pillow, regex }: 2 3buildPythonPackage rec { 4 pname = "material-color-utilities-python"; 5 version = "0.1.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "sha256-PG8C585wWViFRHve83z3b9NijHyV+iGY2BdMJpyVH64="; 10 }; 11 12 propagatedBuildInputs = [ 13 pillow 14 regex 15 ]; 16 17 # No tests implemented. 18 doCheck = false; 19 20 pythonImportsCheck = [ "material_color_utilities_python" ]; 21 22 meta = with lib; { 23 homepage = "https://pypi.org/project/material_color_utilities_python"; 24 description = "Python port of material_color_utilities used for Material You colors"; 25 license = licenses.asl20; 26 maintainers = with maintainers; [ foo-dogsquared ]; 27 }; 28}