nixpkgs/pkgs/development/libraries/grilo/default.nix

46 lines
1.3 KiB
Nix
Raw Normal View History

2018-11-20 19:34:13 +00:00
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, vala, glib, liboauth, gtk3
, gtk-doc, docbook_xsl, docbook_xml_dtd_43
, libxml2, gnome3, gobject-introspection, libsoup, totem-pl-parser }:
2018-03-03 06:09:13 +00:00
let
pname = "grilo";
2020-01-15 13:47:37 +00:00
version = "0.3.11"; # if you change minor, also change ./setup-hook.sh
2018-03-03 06:09:13 +00:00
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
2018-06-18 01:59:02 +00:00
outputs = [ "out" "dev" "man" "devdoc" ];
outputBin = "dev";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2020-01-15 13:47:37 +00:00
sha256 = "0s7b50nbyvi75x2l507q9pnpp4ynrx9qa0hm2bkw7wd2nl61r48g";
};
setupHook = ./setup-hook.sh;
2018-11-20 19:34:13 +00:00
mesonFlags = [
"-Denable-gtk-doc=true"
];
2018-06-18 01:59:02 +00:00
nativeBuildInputs = [
meson ninja pkgconfig gettext gobject-introspection vala
2018-06-18 01:59:02 +00:00
gtk-doc docbook_xsl docbook_xml_dtd_43
];
buildInputs = [ glib liboauth gtk3 libxml2 libsoup totem-pl-parser ];
2018-03-03 06:09:13 +00:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
2018-03-03 06:09:13 +00:00
homepage = https://wiki.gnome.org/Projects/Grilo;
description = "Framework that provides access to various sources of multimedia content, using a pluggable system";
maintainers = gnome3.maintainers;
license = licenses.lgpl2;
platforms = platforms.linux;
};
}