Unverified Commit 95f844a0 authored by Bobby Rong's avatar Bobby Rong
Browse files

mate.mate-control-center: 1.28.0 -> 1.28.1

https://github.com/mate-desktop/mate-control-center/compare/v1.28.0...v1.28.1

Upstream is (still) experiencing problems releasing tarballs, so switch to fetchFromGitHub for now.
parent ab0f3607
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchurl,
  fetchFromGitHub,
  autoconf-archive,
  autoreconfHook,
  pkg-config,
  gettext,
  itstool,
@@ -21,6 +23,7 @@
  gtk3,
  polkit,
  marco,
  mate-common,
  mate-desktop,
  mate-menus,
  mate-panel,
@@ -29,24 +32,31 @@
  systemd,
  hicolor-icon-theme,
  wrapGAppsHook3,
  yelp-tools,
  mateUpdateScript,
}:

stdenv.mkDerivation rec {
  pname = "mate-control-center";
  version = "1.28.0";
  version = "1.28.1";

  src = fetchurl {
    url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "6/LHBP1SSNwvmDb/KQKIae8p1QVJB8xhVzS2ODp5FLw=";
  src = fetchFromGitHub {
    owner = "mate-desktop";
    repo = "mate-control-center";
    tag = "v${version}";
    hash = "sha256-rsEu3Ig6GxqPOvAFOXhkEoXM+etyjWpQWHGOsA+myJs=";
  };

  nativeBuildInputs = [
    autoconf-archive
    autoreconfHook
    pkg-config
    gettext
    itstool
    desktop-file-utils
    mate-common # mate-common.m4 macros
    wrapGAppsHook3
    yelp-tools
  ];

  buildInputs = [