configuration.nix/extra-packages/dracula-gtk/default.nix

37 lines
918 B
Nix
Raw Normal View History

2023-11-04 16:12:45 +05:30
{ lib
, stdenvNoCC
, fetchFromGitHub
, gtk-engine-murrine
,
2023-03-25 22:10:09 +05:30
}:
2023-03-15 22:11:59 +05:30
stdenvNoCC.mkDerivation {
pname = "dracula-gtk";
2023-10-16 22:05:18 +05:30
version = "unstable-2023-10-14";
2023-03-15 22:11:59 +05:30
src = fetchFromGitHub {
owner = "dracula";
repo = "gtk";
2024-12-06 22:43:29 +05:30
rev = "3478e48925f33af411393adaa4043193f03a4e9a";
hash = "sha256-/7/zJXk1LLZKWOpYbrFWBfhFcyddU1y0IwT+RXyyP1M=";
2023-03-15 22:11:59 +05:30
};
2023-11-04 16:12:45 +05:30
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
2023-03-15 22:11:59 +05:30
installPhase = ''
runHook preInstall
mkdir -p $out/share/themes/Dracula
cp -ra assets cinnamon gnome-shell gtk-2.0 gtk-3.0 gtk-3.20 gtk-4.0 metacity-1 unity xfwm4 index.theme $out/share/themes/Dracula/
runHook postInstall
'';
meta = with lib; {
description = "Dracula GTK theme";
2023-10-16 22:05:18 +05:30
downloadPage = "https://github.com/dracula/gtk";
2023-03-15 22:11:59 +05:30
homepage = "https://draculatheme.com/gtk";
license = licenses.gpl3;
2023-11-04 16:12:45 +05:30
maintainers = with maintainers; [ adtya ];
2023-03-15 22:11:59 +05:30
platforms = platforms.linux;
};
}