equilux-theme: drop gnome-themes-extra dependency, modernize derivation (#452188)
This commit is contained in:
@@ -3,7 +3,6 @@
|
|||||||
stdenv,
|
stdenv,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
gnome-shell,
|
gnome-shell,
|
||||||
gnome-themes-extra,
|
|
||||||
glib,
|
glib,
|
||||||
libxml2,
|
libxml2,
|
||||||
gtk-engine-murrine,
|
gtk-engine-murrine,
|
||||||
@@ -12,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 = [
|
||||||
@@ -30,7 +29,6 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gnome-themes-extra
|
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
librsvg
|
librsvg
|
||||||
];
|
];
|
||||||
@@ -49,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 ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user