a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
34 lines
919 B
Nix
34 lines
919 B
Nix
{ lib, stdenv, fetchurl, gtk-engine-murrine }:
|
|
|
|
let
|
|
themeName = "Ant-Nebula";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
pname = "ant-nebula-theme";
|
|
version = "1.3.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
|
|
sha256 = "1xpgw577nmgjk547mg2vvv0gdai60srgncykm5pb1w8dnlk69jbz";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Nebula variant of the Ant theme";
|
|
homepage = "https://github.com/EliverLara/${themeName}";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ alexarice ];
|
|
};
|
|
}
|