forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / data / themes / ant-theme / ant-bloody.nix
blob66cd3e247a729a0cba6a99de3639afef3c991dfa
1 { lib, stdenv, fetchurl, gtk-engine-murrine }:
3 let
4   themeName = "Ant-Bloody";
5 in
6 stdenv.mkDerivation rec {
7   pname = "ant-bloody-theme";
8   version = "1.3.0";
10   src = fetchurl {
11     url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
12     sha256 = "0rrz50kmzjmqj17hvrw67pbaclwxv85i5m08s7842iky6dnn5z8s";
13   };
15   propagatedUserEnvPkgs = [
16     gtk-engine-murrine
17   ];
19   installPhase = ''
20     runHook preInstall
21     mkdir -p $out/share/themes/${themeName}
22     cp -a * $out/share/themes/${themeName}
23     rm -r $out/share/themes/${themeName}/{Art,LICENSE,README.md,gtk-2.0/render-assets.sh}
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Bloody variant of the Ant theme";
29     homepage = "https://github.com/EliverLara/${themeName}";
30     license = licenses.gpl3;
31     platforms = platforms.all;
32     maintainers = with maintainers; [ alexarice ];
33   };