about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/grilo-plugins/default.nix
blob: 02e0c29fdaa7c3a704c75abc347a4c6bb157d11d (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
28
29
30
31
32
33
34
35
36
37
38
39
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, sqlite, librest
, gnome3, libxml2, gupnp, gssdp, lua5, liboauth, gupnp-av, libgdata, libmediaart
, gmime, json-glib, avahi, tracker, dleyna-server, itstool, totem-pl-parser }:

let
  pname = "grilo-plugins";
  version = "0.3.8";
in stdenv.mkDerivation rec {
  name = "${pname}-${version}";

  src = fetchurl {
    url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
    sha256 = "0nync07gah3jkpb5ph5d3gwbygmabnih2m3hfz7lkvjl2l5pgpac";
  };

  nativeBuildInputs = [ meson ninja pkgconfig gettext itstool ];
  buildInputs = [
    gnome3.grilo libxml2 gupnp gssdp libgdata
    lua5 liboauth gupnp-av sqlite gnome3.gnome-online-accounts
    totem-pl-parser librest gmime json-glib
    avahi libmediaart tracker dleyna-server
  ];

  passthru = {
    updateScript = gnome3.updateScript {
      packageName = pname;
      attrPath = "gnome3.${pname}";
      versionPolicy = "none";
    };
  };

  meta = with stdenv.lib; {
    homepage = https://wiki.gnome.org/Projects/Grilo;
    description = "A collection of plugins for the Grilo framework";
    maintainers = gnome3.maintainers;
    license = licenses.lgpl21;
    platforms = platforms.linux;
  };
}