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

76 lines
1.4 KiB
Nix
Raw Normal View History

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