nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 50 lines 1.3 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6 kdePackages, 7 nix-update-script, 8}: 9 10stdenv.mkDerivation (finalAttrs: { 11 pname = "plasma-panel-colorizer"; 12 version = "4.3.2"; 13 14 src = fetchFromGitHub { 15 owner = "luisbocanegra"; 16 repo = "plasma-panel-colorizer"; 17 tag = "v${finalAttrs.version}"; 18 hash = "sha256-gaNKIfICAX7FsCq26SPj416K1PIGAWbx+9RFrTiWOVA="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 kdePackages.extra-cmake-modules 24 ]; 25 26 buildInputs = [ 27 kdePackages.plasma-desktop 28 ]; 29 30 strictDeps = true; 31 32 cmakeFlags = [ 33 (lib.cmakeBool "INSTALL_PLASMOID" true) 34 (lib.cmakeBool "BUILD_PLUGIN" true) 35 (lib.cmakeFeature "Qt6_DIR" "${kdePackages.qtbase}/lib/cmake/Qt6") 36 ]; 37 38 dontWrapQtApps = true; 39 40 passthru.updateScript = nix-update-script { }; 41 42 meta = { 43 description = "Fully-featured widget to bring Latte-Dock and WM status bar customization features to the default KDE Plasma panel"; 44 homepage = "https://github.com/luisbocanegra/plasma-panel-colorizer"; 45 changelog = "https://github.com/luisbocanegra/plasma-panel-colorizer/blob/main/CHANGELOG.md"; 46 license = lib.licenses.gpl3Only; 47 maintainers = with lib.maintainers; [ HeitorAugustoLN ]; 48 inherit (kdePackages.kwindowsystem.meta) platforms; 49 }; 50})