ce1fc96c26
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gnome-software/versions
56 lines
1.8 KiB
Nix
56 lines
1.8 KiB
Nix
{ 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, hicolor-icon-theme
|
|
, 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.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
|
sha256 = "0g30wdrpypj23npvx85wqh1i4a8bbg00ainz7wmsvry21hcny4d4";
|
|
};
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
src = ./fix-paths.patch;
|
|
inherit isocodes;
|
|
})
|
|
];
|
|
|
|
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
|
|
hicolor-icon-theme # for setup-hook
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3 glib packagekit appstream-glib libsoup
|
|
gsettings-desktop-schemas gnome-desktop
|
|
gspell json-glib libsecret ostree
|
|
polkit flatpak fwupd
|
|
libxmlb gnome-online-accounts
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Dubuntu_reviews=false"
|
|
"-Dgudev=false"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "gnome-software";
|
|
attrPath = "gnome3.gnome-software";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Software store that lets you install and update applications and system extensions";
|
|
homepage = https://wiki.gnome.org/Apps/Software;
|
|
license = licenses.gpl2;
|
|
maintainers = gnome3.maintainers;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|