2016-09-18 21:35:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook, packagekit
|
|
|
|
, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3
|
2017-06-25 18:59:23 +02:00
|
|
|
, json_glib, libsecret, valgrind-light }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
inherit (import ./src.nix fetchurl) name src;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
|
|
|
|
buildInputs = [ gnome3.gtk packagekit appstream-glib libsoup
|
|
|
|
gnome3.gsettings_desktop_schemas gnome3.gnome_desktop
|
|
|
|
gtkspell3 json_glib libsecret
|
2017-06-25 18:59:23 +02:00
|
|
|
polkit attr acl libyaml valgrind-light ];
|
2016-09-18 21:35:23 +02:00
|
|
|
propagatedBuildInputs = [ 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.";
|
|
|
|
};
|
|
|
|
}
|