2016-09-18 20:35:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, file, intltool, glib, sqlite
|
2018-02-25 02:23:58 +00:00
|
|
|
, gnome3, libxml2, gupnp, gssdp, lua5, liboauth, gupnp-av
|
|
|
|
, gmime, json-glib, avahi, tracker, dleyna-server, itstool }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
2018-03-03 06:07:02 +00:00
|
|
|
let
|
|
|
|
pname = "grilo-plugins";
|
|
|
|
version = "0.3.5";
|
|
|
|
major = gnome3.versionBranch version;
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-03-03 06:07:02 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${major}/${name}.tar.xz";
|
2017-10-03 02:10:50 +01:00
|
|
|
sha256 = "1yv8a0mfd5qmdbdrnd0is5c51s1mvibhw61na99iagnbirxq4xr9";
|
2016-09-18 20:35:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "GRL_PLUGINS_DIR=$(out)/lib/grilo-${major}" ];
|
|
|
|
|
2018-03-03 06:07:02 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool itstool ];
|
|
|
|
buildInputs = [
|
|
|
|
gnome3.grilo libxml2 gupnp gssdp gnome3.libgdata
|
|
|
|
lua5 liboauth gupnp-av sqlite gnome3.gnome-online-accounts
|
|
|
|
gnome3.totem-pl-parser gnome3.rest gmime json-glib
|
|
|
|
avahi gnome3.libmediaart tracker dleyna-server
|
|
|
|
];
|
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
attrPath = "gnome3.${pname}";
|
|
|
|
versionPolicy = "none";
|
|
|
|
};
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2018-03-03 06:07:02 +00:00
|
|
|
homepage = https://wiki.gnome.org/Projects/Grilo;
|
2016-09-18 20:35:23 +01:00
|
|
|
description = "A collection of plugins for the Grilo framework";
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|