2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
2019-08-28 10:28:46 +02: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-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-08-28 10:28:46 +02:00
|
|
|
description = "Bloody variant of the Ant theme";
|
|
|
|
homepage = "https://github.com/EliverLara/${themeName}";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ alexarice ];
|
|
|
|
};
|
|
|
|
}
|