forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / data / themes / ant-theme / ant-nebula.nix
bloba62791572352b84a2cc9a2f2212d9c7b13e82109
1 { lib, stdenv, fetchurl, gtk-engine-murrine }:
3 let
4   themeName = "Ant-Nebula";
5 in
6 stdenv.mkDerivation rec {
7   pname = "ant-nebula-theme";
8   version = "1.3.0";
10   src = fetchurl {
11     url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
12     sha256 = "1xpgw577nmgjk547mg2vvv0gdai60srgncykm5pb1w8dnlk69jbz";
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 = "Nebula 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   };