Commit 1723bcf0 authored by pancaek's avatar pancaek
Browse files

mate.mate-utils: prep for top-level

parent 6c50432f
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -18,10 +18,10 @@
  hicolor-icon-theme,
  wayland,
  wrapGAppsHook3,
  mateUpdateScript,
  gitUpdater,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "mate-utils";
  version = "1.28.0";
  outputs = [
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
  ];

  src = fetchurl {
    url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor finalAttrs.version}/mate-utils-${finalAttrs.version}.tar.xz";
    sha256 = "WESdeg0dkA/wO3jKn36Ywh6X9H/Ca+5/8cYYNPIviNM=";
  };

@@ -69,7 +69,11 @@ stdenv.mkDerivation rec {

  enableParallelBuilding = true;

  passthru.updateScript = mateUpdateScript { inherit pname; };
  passthru.updateScript = gitUpdater {
    url = "https://git.mate-desktop.org/mate-utils";
    odd-unstable = true;
    rev-prefix = "v";
  };

  meta = {
    description = "Utilities for the MATE desktop";
@@ -81,4 +85,4 @@ stdenv.mkDerivation rec {
    platforms = lib.platforms.unix;
    teams = [ lib.teams.mate ];
  };
}
})