mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
gnome-power-manager: init at 3.26.0
Provides an app to view battery and power statistics. This app is badly documented on the web, but is in the default Fedora install; hence to motivation to add it to Nix.
This commit is contained in:
parent
fa56fc4be0
commit
d2f065b793
47
pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nix
Normal file
47
pkgs/desktops/gnome-3/apps/gnome-power-manager/default.nix
Normal file
@ -0,0 +1,47 @@
|
||||
{ stdenv
|
||||
, intltool
|
||||
, fetchurl
|
||||
, pkgconfig
|
||||
, gtk3
|
||||
, glib
|
||||
, meson
|
||||
, ninja
|
||||
, upower
|
||||
, desktop_file_utils
|
||||
, wrapGAppsHook
|
||||
, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
inherit (import ./src.nix fetchurl) name src;
|
||||
|
||||
propagatedUserEnvPkgs = [ gnome3.gnome_themes_standard ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson
|
||||
ninja
|
||||
pkgconfig
|
||||
wrapGAppsHook
|
||||
intltool
|
||||
|
||||
# needed by meson_post_install.sh
|
||||
glib.dev
|
||||
desktop_file_utils
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
glib
|
||||
upower
|
||||
gnome3.defaultIconTheme
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://projects.gnome.org/gnome-power-manager/;
|
||||
description = "View battery and power statistics provided by UPower";
|
||||
maintainers = gnome3.maintainers;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
10
pkgs/desktops/gnome-3/apps/gnome-power-manager/src.nix
Normal file
10
pkgs/desktops/gnome-3/apps/gnome-power-manager/src.nix
Normal file
@ -0,0 +1,10 @@
|
||||
# Autogenerated by maintainers/scripts/gnome.sh update
|
||||
|
||||
fetchurl: {
|
||||
name = "gnome-power-manager-3.26.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://gnome/sources/gnome-power-manager/3.26/gnome-power-manager-3.26.0.tar.xz;
|
||||
sha256 = "20aee0b0b4015e7cc6fbabc3cbc4344c07c230fe3d195e90c8ae0dc5d55a2d4e";
|
||||
};
|
||||
}
|
@ -36,6 +36,7 @@ let
|
||||
nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
|
||||
gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
|
||||
gnome-getting-started-docs gnome-packagekit gnome-software
|
||||
gnome-power-manager
|
||||
];
|
||||
|
||||
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
|
||||
@ -297,6 +298,8 @@ let
|
||||
gegl = gegl_0_3;
|
||||
};
|
||||
|
||||
gnome-power-manager = callPackage ./apps/gnome-power-manager { };
|
||||
|
||||
gnome-weather = callPackage ./apps/gnome-weather { };
|
||||
|
||||
nautilus-sendto = callPackage ./apps/nautilus-sendto { };
|
||||
|
Loading…
Reference in New Issue
Block a user