35 lines
924 B
Nix
35 lines
924 B
Nix
|
{ stdenv, fetchurl, gtk-engine-murrine }:
|
||
|
|
||
|
let
|
||
|
themeName = "Ant-Dracula";
|
||
|
in
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "ant-dracula-theme";
|
||
|
version = "1.3.0";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
|
||
|
sha256 = "00b8w69xapqy8kc7zqwlfz1xpld6hibbh35djvhcnd905gzzymkd";
|
||
|
};
|
||
|
|
||
|
propagatedUserEnvPkgs = [
|
||
|
gtk-engine-murrine
|
||
|
];
|
||
|
|
||
|
installPhase = ''
|
||
|
runHook preInstall
|
||
|
mkdir -p $out/share/themes/${themeName}
|
||
|
cp -a * $out/share/themes/${themeName}
|
||
|
rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
|
||
|
runHook postInstall
|
||
|
'';
|
||
|
|
||
|
meta = with stdenv.lib; {
|
||
|
description = "Dracula variant of the Ant theme";
|
||
|
homepage = "https://github.com/EliverLara/${themeName}";
|
||
|
license = licenses.gpl3;
|
||
|
platforms = platforms.all;
|
||
|
maintainers = with maintainers; [ alexarice ];
|
||
|
};
|
||
|
}
|