3cf548bd90
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mate-power-manager/versions. These checks were done: - built on NixOS - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-manager passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-preferences passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-statistics passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-manager-wrapped passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-preferences-wrapped passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/.mate-power-statistics-wrapped passed the binary check. - /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2/bin/mate-power-backlight-helper passed the binary check. - 7 of 7 passed binary check by having a zero exit code. - 2 of 7 passed binary check by having the new version present in output. - found 1.20.2 with grep in /nix/store/8hng11y2bqq66g844xwpfa0a977wn10p-mate-power-manager-1.20.2 - directory tree listing: https://gist.github.com/f8d3fda03f4b6da87bde96d8dd1e974e - du listing: https://gist.github.com/8b7bb5497d6d6ab20df5efb10ba50b19
41 lines
997 B
Nix
41 lines
997 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, libnotify, libcanberra-gtk3, dbus-glib, upower, gnome3, libtool, wrapGAppsHook }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-power-manager-${version}";
|
|
version = "1.20.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "1z754jxnwashwxxfg3cxb9ifbqyjxgavzzwy2mjnzl6z7k95hvjh";
|
|
};
|
|
|
|
buildInputs = [
|
|
glib
|
|
itstool
|
|
libxml2
|
|
libcanberra-gtk3
|
|
gnome3.gtk
|
|
gnome3.libgnome-keyring
|
|
libnotify
|
|
dbus-glib
|
|
upower
|
|
mate.mate-panel
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
pkgconfig
|
|
intltool
|
|
libtool
|
|
wrapGAppsHook
|
|
];
|
|
|
|
configureFlags = [ "--enable-applets" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "The MATE Power Manager";
|
|
homepage = http://mate-desktop.org;
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.romildo maintainers.chpatrick ];
|
|
};
|
|
}
|