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

55 lines
1.6 KiB
Nix
Raw Normal View History

2018-03-04 18:18:53 -08:00
{ stdenv, fetchurl, substituteAll, pkgconfig, meson, ninja, gettext, gnome3, wrapGAppsHook, packagekit, ostree
2018-08-07 13:06:37 -07:00
, glib, appstream-glib, libsoup, polkit, isocodes, gspell, libxslt, gobjectIntrospection, flatpak, fwupd
, json-glib, libsecret, valgrind-light, docbook_xsl, docbook_xml_dtd_42, gtk-doc, desktop-file-utils }:
stdenv.mkDerivation rec {
name = "gnome-software-${version}";
version = "3.28.2";
src = fetchurl {
url = "mirror://gnome/sources/gnome-software/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "1s19p50nrkvxg4sb7bkn9ccajgaj251y9iz20bkn31ysq19ih03w";
};
2018-03-04 18:18:53 -08:00
patches = [
(substituteAll {
src = ./fix-paths.patch;
inherit isocodes;
})
];
2018-03-04 18:18:53 -08:00
nativeBuildInputs = [
meson ninja pkgconfig gettext wrapGAppsHook libxslt docbook_xml_dtd_42
2018-03-14 21:27:44 -07:00
valgrind-light docbook_xsl gtk-doc desktop-file-utils gobjectIntrospection
2018-03-04 18:18:53 -08:00
];
2018-03-04 18:18:53 -08:00
buildInputs = [
gnome3.gtk glib packagekit appstream-glib libsoup
gnome3.gsettings-desktop-schemas gnome3.gnome-desktop
2018-03-14 21:27:44 -07:00
gspell json-glib libsecret ostree
2018-08-07 13:06:37 -07:00
polkit flatpak fwupd
2018-03-04 18:18:53 -08:00
];
2017-10-04 14:50:14 -07:00
mesonFlags = [
"-Denable-rpm=false"
"-Denable-oauth=false"
"-Denable-ubuntu-reviews=false"
"-Denable-gudev=false"
];
2018-03-04 18:18:53 -08:00
passthru = {
updateScript = gnome3.updateScript {
packageName = "gnome-software";
attrPath = "gnome3.gnome-software";
};
};
meta = with stdenv.lib; {
2018-03-04 18:18:53 -08: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-04 18:18:53 -08:00
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}