forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / data / themes / ant-theme / ant.nix
blob2cb6961de1f73024d3956af989cfa21867d89c99
1 { lib, stdenv, fetchurl, gtk-engine-murrine }:
3 let
4   themeName = "Ant";
5 in
6 stdenv.mkDerivation rec {
7   pname = "ant-theme";
8   version = "1.3.0";
10   src = fetchurl {
11     url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
12     sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
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 = "Flat and light theme with a modern look";
29     homepage = "https://github.com/EliverLara/${themeName}";
30     license = licenses.gpl3;
31     platforms = platforms.all;
32     maintainers = with maintainers; [ alexarice ];
33   };