plasma-theme-switcher: init at 0.1

+44
+42
pkgs/applications/misc/plasma-theme-switcher/default.nix
··· 1 + { 2 + stdenv, lib, cmake, extra-cmake-modules, fetchFromGitHub, qtbase, kdeFrameworks 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + pname = "plasma-theme-switcher"; 7 + version = "0.1"; 8 + dontWrapQtApps = true; 9 + 10 + src = fetchFromGitHub { 11 + owner = "maldoinc"; 12 + repo = "plasma-theme-switcher"; 13 + rev = "v${version}"; 14 + sha256 = "sdcJ6K5QmglJEDIEl4sd8x7DuCPCqMHRxdYbcToM46Q="; 15 + }; 16 + 17 + buildInputs = [ 18 + qtbase 19 + kdeFrameworks.plasma-framework 20 + ]; 21 + 22 + nativeBuildInputs = [ 23 + cmake 24 + extra-cmake-modules 25 + ]; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + mkdir -p $out/bin 31 + cp plasma-theme $out/bin 32 + 33 + runHook postInstall 34 + ''; 35 + 36 + meta = with lib; { 37 + homepage = "https://github.com/maldoinc/plasma-theme-switcher/"; 38 + description = "A KDE Plasma theme switcher"; 39 + license = with licenses; [ gpl2Only ]; 40 + maintainers = with maintainers; [ kevink ]; 41 + }; 42 + }
+2
pkgs/top-level/all-packages.nix
··· 31654 31654 31655 31655 plasma-applet-volumewin7mixer = libsForQt5.callPackage ../applications/misc/plasma-applet-volumewin7mixer { }; 31656 31656 31657 + plasma-theme-switcher = libsForQt5.callPackage ../applications/misc/plasma-theme-switcher {}; 31658 + 31657 31659 plasma-pass = libsForQt5.callPackage ../tools/security/plasma-pass { }; 31658 31660 31659 31661 inherit (callPackages ../applications/misc/redshift {