mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
gnome3.18: use packagekit bindings for gnome-software
- init gnome-software for gnome3 at 3.18.3 - list gnome-software as an "optional package" for gnome3 - enable packagekit service when gnome3 is enabled
This commit is contained in:
parent
4e50880c82
commit
4d4746e436
@ -121,6 +121,7 @@ in {
|
|||||||
services.upower.enable = config.powerManagement.enable;
|
services.upower.enable = config.powerManagement.enable;
|
||||||
services.dbus.packages = mkIf config.services.printing.enable [ pkgs.system-config-printer ];
|
services.dbus.packages = mkIf config.services.printing.enable [ pkgs.system-config-printer ];
|
||||||
services.colord.enable = mkDefault true;
|
services.colord.enable = mkDefault true;
|
||||||
|
services.packagekit.enable = mkDefault true;
|
||||||
hardware.bluetooth.enable = mkDefault true;
|
hardware.bluetooth.enable = mkDefault true;
|
||||||
|
|
||||||
fonts.fonts = [ pkgs.dejavu_fonts pkgs.cantarell_fonts ];
|
fonts.fonts = [ pkgs.dejavu_fonts pkgs.cantarell_fonts ];
|
||||||
|
@ -35,7 +35,7 @@ let
|
|||||||
gnome-clocks gnome-music gnome-tweak-tool gnome-photos
|
gnome-clocks gnome-music gnome-tweak-tool gnome-photos
|
||||||
nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
|
nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
|
||||||
gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
|
gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
|
||||||
gnome-getting-started-docs
|
gnome-getting-started-docs gnome-software
|
||||||
];
|
];
|
||||||
|
|
||||||
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
|
gamesPackages = with gnome3; [ swell-foop lightsoff iagno
|
||||||
@ -390,6 +390,8 @@ let
|
|||||||
|
|
||||||
gnome-video-effects = callPackage ./misc/gnome-video-effects { };
|
gnome-video-effects = callPackage ./misc/gnome-video-effects { };
|
||||||
|
|
||||||
|
gnome-software = callPackage ./misc/gnome-software { };
|
||||||
|
|
||||||
};
|
};
|
||||||
in self; # pkgsFun
|
in self; # pkgsFun
|
||||||
|
|
||||||
|
31
pkgs/desktops/gnome-3/3.18/misc/gnome-software/default.nix
Normal file
31
pkgs/desktops/gnome-3/3.18/misc/gnome-software/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook, packagekit
|
||||||
|
, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "gnome-software-${version}";
|
||||||
|
version = "3.18.3";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "mirror://gnome/sources/gnome-software/3.18/${name}.tar.xz";
|
||||||
|
sha256 = "0ywvjmn0cwr4kv2l6ic80ac7js7hpsp3g127cj7h256iaqgsaxnc";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
|
||||||
|
buildInputs = [ gnome3.gtk packagekit appstream-glib libsoup
|
||||||
|
gnome3.gsettings_desktop_schemas gnome3.gnome_desktop
|
||||||
|
polkit attr acl libyaml ];
|
||||||
|
propogatedBuildInputs = [ isocodes ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/share/xml/
|
||||||
|
ln -s ${isocodes}/share/xml/iso-codes $out/share/xml/iso-codes
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://www.freedesktop.org/software/PackageKit/;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = gnome3.maintainers;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
description = "GNOME Software lets you install and update applications and system extensions.";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user