42 lines
912 B
Nix
42 lines
912 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
gnome-themes-extra,
|
|
gtk-engine-murrine,
|
|
}:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "dracula-gtk";
|
|
version = "4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dracula";
|
|
repo = "gtk";
|
|
rev = "e93c5d8639c874a4245aea07860f344f0dbb18ba";
|
|
hash = "sha256-h0BQNS3KkpWtvEy//tlc1B0mWu/W2Prctu3cVO5StXg=";
|
|
};
|
|
|
|
nativeBuildInputs = [gtk3];
|
|
|
|
buildInputs = [
|
|
gnome-themes-extra
|
|
];
|
|
|
|
propagatedUserEnvPkgs = [gtk-engine-murrine];
|
|
|
|
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;
|
|
};
|
|
}
|