about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/3.24/core/gnome-software/default.nix
blob: 2f4a1427ec0ac4c3fa531385472ca4598c35c66e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchurl, pkgconfig, intltool, gnome3, wrapGAppsHook, packagekit
, appstream-glib, libsoup, polkit, attr, acl, libyaml, isocodes, gtkspell3
, json_glib, libsecret, valgrind-light }:

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
                  polkit attr acl libyaml valgrind-light ];
  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.";
  };
}