mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
e2799bec4d
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/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/mate-power-manager passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/mate-power-preferences passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/mate-power-statistics passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/.mate-power-manager-wrapped passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/.mate-power-preferences-wrapped passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/bin/.mate-power-statistics-wrapped passed the binary check. - /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0/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.21.0 with grep in /nix/store/3p5n72sk436hkj88ndbws85n3sjpjws6-mate-power-manager-1.21.0 - directory tree listing: https://gist.github.com/1e52186ae9e0f46684d551318ba77db0 - du listing: https://gist.github.com/c94ea5d841ae308a842d899ce7685a0b
42 lines
997 B
Nix
42 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.21.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "1l7rxv16j95w26igs4n7fdfv5hqm91b9ddc1lw5m26s42nkzzf85";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|