2023-03-29 21:48:55 +05:30
|
|
|
{ lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gtk3
|
|
|
|
, gnome-themes-extra
|
|
|
|
, gtk-engine-murrine
|
|
|
|
,
|
2023-03-25 22:10:09 +05:30
|
|
|
}:
|
2023-03-15 22:11:59 +05:30
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "dracula-gtk";
|
|
|
|
version = "4.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "dracula";
|
|
|
|
repo = "gtk";
|
2023-03-30 22:40:31 +05:30
|
|
|
rev = "42dc8ed0504a58426b96794237981debc57b04fc";
|
|
|
|
hash = "sha256-p9zu40o7gP08juBiDV3OzwGV6Qjgg/I0GDzV9qOlEgk=";
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
|
2023-03-29 21:48:55 +05:30
|
|
|
nativeBuildInputs = [ gtk3 ];
|
2023-03-15 22:11:59 +05:30
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gnome-themes-extra
|
|
|
|
];
|
|
|
|
|
2023-03-29 21:48:55 +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";
|
|
|
|
homepage = "https://draculatheme.com/gtk";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|