mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
f1c4a9cd3c
Semi-automatic update generated by https://github.com/ryantm/nix-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 - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-manager -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-manager --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-manager --version` and found version 1.20.1 - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-preferences -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-preferences --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-statistics -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-statistics --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-manager-wrapped -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-manager-wrapped --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-manager-wrapped --version` and found version 1.20.1 - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-preferences-wrapped -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-preferences-wrapped --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-statistics-wrapped -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/.mate-power-statistics-wrapped --help` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-backlight-helper -h` got 0 exit code - ran `/nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1/bin/mate-power-backlight-helper --help` got 0 exit code - found 1.20.1 with grep in /nix/store/0qj1rkdjfc3yazdk2xa46147sg5rhzd4-mate-power-manager-1.20.1 - directory tree listing: https://gist.github.com/a6a1ffa6917fe4c0aa8b463061551af2
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.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "1s46jvjcrai6xb2k0dy7i121b9ihfl5h3y5809fg9fzrbvw6bafn";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|