nixpkgs/pkgs/development/libraries/grilo-plugins/default.nix
2019-08-23 02:47:56 +02:00

83 lines
1.3 KiB
Nix

{ stdenv
, fetchurl
, meson
, ninja
, pkgconfig
, gettext
, gperf
, sqlite
, librest
, libarchive
, libsoup
, gnome3
, libxml2
, lua5_3
, liboauth
, libgdata
, libmediaart
, grilo
, gnome-online-accounts
, gmime
, json-glib
, avahi
, tracker
, dleyna-server
, itstool
, totem-pl-parser
}:
stdenv.mkDerivation rec {
pname = "grilo-plugins";
version = "0.3.9";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1hv84b56qjic8vz8iz46ikhrxx31l29ilbr8dm5qcghbd8ikw8j1";
};
nativeBuildInputs = [
meson
ninja
pkgconfig
gettext
itstool
gperf # for lua-factory
];
buildInputs = [
grilo
libxml2
libgdata
lua5_3
liboauth
sqlite
gnome-online-accounts
totem-pl-parser
librest
libarchive
libsoup
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;
};
}