tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
plasma-theme-switcher: init at 0.1
Kevin Kandlbinder
4 years ago
50e6588e
ce4df6fa
+44
2 changed files
expand all
collapse all
unified
split
pkgs
applications
misc
plasma-theme-switcher
default.nix
top-level
all-packages.nix
+42
pkgs/applications/misc/plasma-theme-switcher/default.nix
···
1
1
+
{
2
2
+
stdenv, lib, cmake, extra-cmake-modules, fetchFromGitHub, qtbase, kdeFrameworks
3
3
+
}:
4
4
+
5
5
+
stdenv.mkDerivation rec {
6
6
+
pname = "plasma-theme-switcher";
7
7
+
version = "0.1";
8
8
+
dontWrapQtApps = true;
9
9
+
10
10
+
src = fetchFromGitHub {
11
11
+
owner = "maldoinc";
12
12
+
repo = "plasma-theme-switcher";
13
13
+
rev = "v${version}";
14
14
+
sha256 = "sdcJ6K5QmglJEDIEl4sd8x7DuCPCqMHRxdYbcToM46Q=";
15
15
+
};
16
16
+
17
17
+
buildInputs = [
18
18
+
qtbase
19
19
+
kdeFrameworks.plasma-framework
20
20
+
];
21
21
+
22
22
+
nativeBuildInputs = [
23
23
+
cmake
24
24
+
extra-cmake-modules
25
25
+
];
26
26
+
27
27
+
installPhase = ''
28
28
+
runHook preInstall
29
29
+
30
30
+
mkdir -p $out/bin
31
31
+
cp plasma-theme $out/bin
32
32
+
33
33
+
runHook postInstall
34
34
+
'';
35
35
+
36
36
+
meta = with lib; {
37
37
+
homepage = "https://github.com/maldoinc/plasma-theme-switcher/";
38
38
+
description = "A KDE Plasma theme switcher";
39
39
+
license = with licenses; [ gpl2Only ];
40
40
+
maintainers = with maintainers; [ kevink ];
41
41
+
};
42
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
31657
+
plasma-theme-switcher = libsForQt5.callPackage ../applications/misc/plasma-theme-switcher {};
31658
31658
+
31657
31659
plasma-pass = libsForQt5.callPackage ../tools/security/plasma-pass { };
31658
31660
31659
31661
inherit (callPackages ../applications/misc/redshift {