Unverified Commit 8803be75 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

equilux-theme: modernize derivation

parent 708dc43f
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -11,15 +11,15 @@
  bc,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "equilux-theme";
  version = "20181029";

  src = fetchFromGitHub {
    owner = "ddnexus";
    repo = "equilux-theme";
    rev = "equilux-v${version}";
    sha256 = "0lv2yyxhnmnkwxp576wnb01id4fp734b5z5n0l67sg5z7vc2h8fc";
    tag = "equilux-v${finalAttrs.version}";
    hash = "sha256-zCEo2D6/PH0MBbb8ssg415EWA1iWm1Nu59NWC7v3YlM=";
  };

  nativeBuildInputs = [
@@ -47,11 +47,11 @@ stdenv.mkDerivation rec {
    rm $out/share/themes/*/COPYING
  '';

  meta = with lib; {
    inherit (src.meta) homepage;
  meta = {
    inherit (finalAttrs.src.meta) homepage;
    description = "Material Design theme for GNOME/GTK based desktop environments";
    license = licenses.gpl2;
    platforms = platforms.all;
    maintainers = [ maintainers.fpletz ];
    license = lib.licenses.gpl2;
    platforms = lib.platforms.all;
    maintainers = [ lib.maintainers.fpletz ];
  };
}
})