1 { lib, stdenvNoCC, fetchFromGitHub, unstableGitUpdater, gtk-engine-murrine }:
5 version = "4.0.0-unstable-2024-10-03";
7 stdenvNoCC.mkDerivation {
8 pname = "dracula-theme";
11 src = fetchFromGitHub {
14 rev = "b5b7f3aed7060e14b848ca449a1d575c872f4e73";
15 hash = "sha256-hsWyvmxEBJKdNem+eYbGF+UBopP3p90SdFNP7wBuE74=";
18 propagatedUserEnvPkgs = [
24 mkdir -p $out/share/themes/${themeName}
25 cp -a {assets,cinnamon,gnome-shell,gtk-2.0,gtk-3.0,gtk-3.20,gtk-4.0,index.theme,metacity-1,unity,xfwm4} $out/share/themes/${themeName}
27 cp -a kde/{color-schemes,plasma} $out/share/
28 cp -a kde/kvantum $out/share/Kvantum
29 mkdir -p $out/share/aurorae/themes
30 cp -a kde/aurorae/* $out/share/aurorae/themes/
31 mkdir -p $out/share/sddm/themes
32 cp -a kde/sddm/* $out/share/sddm/themes/
34 mkdir -p $out/share/icons/Dracula-cursors
35 mv kde/cursors/Dracula-cursors/index.theme $out/share/icons/Dracula-cursors/cursor.theme
36 mv kde/cursors/Dracula-cursors/cursors $out/share/icons/Dracula-cursors/cursors
41 passthru.updateScript = unstableGitUpdater {
46 description = "Dracula variant of the Ant theme";
47 homepage = "https://github.com/dracula/gtk";
48 license = licenses.gpl3;
49 platforms = platforms.all;
50 maintainers = with maintainers; [ alexarice ];