nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation {
4 pname = "plasma-overdose-kde-theme";
5 version = "unstable-2022-05-30";
6
7 src = fetchFromGitHub {
8 owner = "Notify-ctrl";
9 repo = "Plasma-Overdose";
10 rev = "d8bf078b4819885d590db27cd1d25d8f4f08fe4c";
11 sha256 = "187f6rlvb2wf5sj3mgr69mfwh9fpqchw4yg6nzv54l98msmxc4h0";
12 };
13
14 installPhase = ''
15 runHook preInstall
16
17 mkdir -p $out/share
18 mv colorschemes $out/share/color-schemes
19 mv plasma $out/share/plasma
20
21 mkdir -p $out/share/aurorae
22 mv aurorae $out/share/aurorae/themes
23
24 mkdir -p $out/share/icons/Plasma-Overdose
25 mv cursors/index.theme $out/share/icons/Plasma-Overdose/cursor.theme
26 mv cursors/cursors $out/share/icons/Plasma-Overdose/cursors
27
28 runHook postInstall
29 '';
30
31 meta = with lib; {
32 description = "Cute KDE theme inspired by the game Needy Girl Overdose";
33 homepage = "https://github.com/Notify-ctrl/Plasma-Overdose";
34 license = licenses.gpl3;
35 platforms = platforms.all;
36 maintainers = with maintainers; [ takagiy ];
37 };
38}