nixpkgs/pkgs/desktops/gnome-3/core/gnome-software/default.nix

55 lines
1.7 KiB
Nix
Raw Normal View History

2018-03-05 03:18:53 +01:00
{ stdenv, fetchurl, substituteAll, pkgconfig, meson, ninja, gettext, gnome3, wrapGAppsHook, packagekit, ostree
, glib, appstream-glib, libsoup, polkit, isocodes, gspell, libxslt, gobject-introspection, flatpak, fwupd
, gtk3, gsettings-desktop-schemas, gnome-desktop, libxmlb, gnome-online-accounts
, json-glib, libsecret, valgrind-light, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_43, gtk-doc, desktop-file-utils }:
stdenv.mkDerivation rec {
name = "gnome-software-${version}";
version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "19hrvkyavrfrhs19ii4ky5bpzsijiyq2vcxb5s4xk13xv8ys2151";
};
2018-03-05 03:18:53 +01:00
patches = [
(substituteAll {
src = ./fix-paths.patch;
inherit isocodes;
})
];
2018-03-05 03:18:53 +01:00
nativeBuildInputs = [
meson ninja pkgconfig gettext wrapGAppsHook libxslt docbook_xml_dtd_42 docbook_xml_dtd_43
valgrind-light docbook_xsl gtk-doc desktop-file-utils gobject-introspection
2018-03-05 03:18:53 +01:00
];
2018-03-05 03:18:53 +01:00
buildInputs = [
2019-02-13 22:47:50 +01:00
gtk3 glib packagekit appstream-glib libsoup
gsettings-desktop-schemas gnome-desktop
2018-03-15 05:27:44 +01:00
gspell json-glib libsecret ostree
2018-08-07 22:06:37 +02:00
polkit flatpak fwupd
libxmlb gnome-online-accounts
2018-03-05 03:18:53 +01:00
];
2017-10-04 23:50:14 +02:00
mesonFlags = [
"-Dubuntu_reviews=false"
"-Dgudev=false"
2017-10-04 23:50:14 +02:00
];
2018-03-05 03:18:53 +01:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-software";
attrPath = "gnome3.gnome-software";
};
};
meta = with stdenv.lib; {
2018-03-05 03:18:53 +01:00
description = "Software store that lets you install and update applications and system extensions";
homepage = https://wiki.gnome.org/Apps/Software;
license = licenses.gpl2;
2018-03-05 03:18:53 +01:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}