about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/gnome-software
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-11-29 10:00:30 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-11-29 10:02:40 +0100
commit5f020d5627789ce77b2997e360ece984c261bce7 (patch)
treead2398b7aadcb52e5ef02df8dd961874edb7c816 /pkgs/desktops/gnome-3/core/gnome-software
parent0e6ca9e85d76ddb2757d05119f07f4b2fe32b689 (diff)
parent8b53b2ec2c7ec4d87b8d27df7fe0c85812e29bf5 (diff)
downloadnixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar.gz
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar.bz2
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar.lz
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar.xz
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.tar.zst
nixlib-5f020d5627789ce77b2997e360ece984c261bce7.zip
Merge branch 'staging'
There are security fixes in multiple packages /cc #32117,
so I'm merging a little earlier, with a few thousand jobs
still not finished on Hydra for x86_64-darwin and aarch64-linux.
Diffstat (limited to 'pkgs/desktops/gnome-3/core/gnome-software')
-rw-r--r--pkgs/desktops/gnome-3/core/gnome-software/default.nix30
-rw-r--r--pkgs/desktops/gnome-3/core/gnome-software/src.nix6
2 files changed, 26 insertions, 10 deletions
diff --git a/pkgs/desktops/gnome-3/core/gnome-software/default.nix b/pkgs/desktops/gnome-3/core/gnome-software/default.nix
index 4ca3bd66063a..37650ae5a142 100644
--- a/pkgs/desktops/gnome-3/core/gnome-software/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-software/default.nix
@@ -1,17 +1,33 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook, packagekit
-, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3
-, json_glib, libsecret, valgrind-light }:
+{ stdenv, fetchurl, pkgconfig, meson, ninja, gettext, gnome3, wrapGAppsHook, packagekit, ostree
+, glib, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3, libxslt
+, json_glib, libsecret, valgrind-light, docbook_xsl, docbook_xml_dtd_42, gtk_doc, desktop_file_utils }:
 
 stdenv.mkDerivation rec {
   inherit (import ./src.nix fetchurl) name src;
 
-  nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
-  buildInputs = [ gnome3.gtk packagekit appstream-glib libsoup
+  nativeBuildInputs = [ pkgconfig meson ninja gettext wrapGAppsHook libxslt docbook_xml_dtd_42
+                        valgrind-light docbook_xsl gtk_doc desktop_file_utils ];
+  buildInputs = [ gnome3.gtk glib packagekit appstream-glib libsoup
                   gnome3.gsettings_desktop_schemas gnome3.gnome_desktop
-                  gtkspell3 json_glib libsecret
-                  polkit attr acl libyaml valgrind-light ];
+                  gtkspell3 json_glib libsecret ostree
+                  polkit attr acl libyaml ];
   propagatedBuildInputs = [ isocodes ];
 
+  NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+
+  postPatch = ''
+    patchShebangs meson_post_install.sh
+  '';
+
+  mesonFlags = [
+    "-Denable-flatpak=false"
+    "-Denable-rpm=false"
+    "-Denable-fwupd=false"
+    "-Denable-oauth=false"
+    "-Denable-ubuntu-reviews=false"
+    "-Denable-gudev=false"
+  ];
+
   postInstall = ''
     mkdir -p $out/share/xml/
     ln -s ${isocodes}/share/xml/iso-codes $out/share/xml/iso-codes
diff --git a/pkgs/desktops/gnome-3/core/gnome-software/src.nix b/pkgs/desktops/gnome-3/core/gnome-software/src.nix
index 9d847b3af7d8..99c6415e83dc 100644
--- a/pkgs/desktops/gnome-3/core/gnome-software/src.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-software/src.nix
@@ -1,10 +1,10 @@
 # Autogenerated by maintainers/scripts/gnome.sh update
 
 fetchurl: {
-  name = "gnome-software-3.24.3";
+  name = "gnome-software-3.26.3";
 
   src = fetchurl {
-    url = mirror://gnome/sources/gnome-software/3.24/gnome-software-3.24.3.tar.xz;
-    sha256 = "0dbc8cbf0e46c5ef8c6a34391622d1532cf05c49976b39a8b8ee1fff8d8f75e3";
+    url = mirror://gnome/sources/gnome-software/3.26/gnome-software-3.26.3.tar.xz;
+    sha256 = "2f74fd5fb222c99d4fcb91500cea0c62a0eb8022700bdea51acecb41c63f8e48";
   };
 }