Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 7 dbus-python, 8 numpy, 9 pillow, 10 materialyoucolor, 11}: 12 13buildPythonPackage rec { 14 pname = "kde-material-you-colors"; 15 version = "1.10.1"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "luisbocanegra"; 20 repo = "kde-material-you-colors"; 21 tag = "v${version}"; 22 hash = "sha256-qiaFHu4eyX73cAbMdoP46SiiFjNWx2vXWVzEbCsTNBI="; 23 }; 24 25 build-system = [ setuptools ]; 26 dependencies = [ 27 dbus-python 28 numpy 29 pillow 30 materialyoucolor 31 ]; 32 33 pythonImportsCheck = [ "kde_material_you_colors" ]; 34 35 doCheck = false; # no unittests, and would require KDE desktop environment 36 37 meta = { 38 homepage = "https://store.kde.org/p/2136963"; 39 description = "Automatic color scheme generator from your wallpaper for KDE Plasma powered by Material You"; 40 license = lib.licenses.gpl3Only; 41 maintainers = with lib.maintainers; [ sigmanificient ]; 42 mainProgram = "kde-material-you-colors"; 43 }; 44}