equilux-theme: modernize derivation

This commit is contained in:
Stefan Frijters
2025-10-15 10:04:59 +02:00
parent 708dc43f9e
commit 8803be75c3

View File

@@ -11,15 +11,15 @@
bc, bc,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "equilux-theme"; pname = "equilux-theme";
version = "20181029"; version = "20181029";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ddnexus"; owner = "ddnexus";
repo = "equilux-theme"; repo = "equilux-theme";
rev = "equilux-v${version}"; tag = "equilux-v${finalAttrs.version}";
sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc"; hash = "sha256-zCEo2D6/PH0MBbb8ssg415EWA1iWm1Nu59NWC7v3YlM=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@@ -47,11 +47,11 @@ stdenv.mkDerivation rec {
rm $out/share/themes/*/COPYING rm $out/share/themes/*/COPYING
''; '';
meta = with lib; { meta = {
inherit (src.meta) homepage; inherit (finalAttrs.src.meta) homepage;
description = "Material Design theme for GNOME/GTK based desktop environments"; description = "Material Design theme for GNOME/GTK based desktop environments";
license = licenses.gpl2; license = lib.licenses.gpl2;
platforms = platforms.all; platforms = lib.platforms.all;
maintainers = [ maintainers.fpletz ]; maintainers = [ lib.maintainers.fpletz ];
}; };
} })