{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / themes / dracula-theme / default.nix
blob67f472323aa1075f620d5b2ad4e8997c8f7fe1db
1 { lib, stdenvNoCC, fetchFromGitHub, unstableGitUpdater, gtk-engine-murrine }:
3 let
4   themeName = "Dracula";
5   version = "4.0.0-unstable-2024-10-03";
6 in
7 stdenvNoCC.mkDerivation {
8   pname = "dracula-theme";
9   inherit version;
11   src = fetchFromGitHub {
12     owner = "dracula";
13     repo = "gtk";
14     rev = "b5b7f3aed7060e14b848ca449a1d575c872f4e73";
15     hash = "sha256-hsWyvmxEBJKdNem+eYbGF+UBopP3p90SdFNP7wBuE74=";
16   };
18   propagatedUserEnvPkgs = [
19     gtk-engine-murrine
20   ];
22   installPhase = ''
23     runHook preInstall
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
38     runHook postInstall
39   '';
41   passthru.updateScript = unstableGitUpdater {
42     tagPrefix = "v";
43   };
45   meta = with lib; {
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 ];
51   };