2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
themeName = "Ant-Bloody";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ant-bloody-theme";
|
|
|
|
version = "1.3.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
|
|
|
|
sha256 = "0rrz50kmzjmqj17hvrw67pbaclwxv85i5m08s7842iky6dnn5z8s";
|
|
|
|
};
|
|
|
|
|
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Bloody variant of the Ant theme";
|
|
|
|
homepage = "https://github.com/EliverLara/${themeName}";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ alexarice ];
|
|
|
|
};
|
|
|
|
}
|