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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1.1 KiB
Nix
Raw Normal View History

2022-08-07 00:48:42 +02:00
{ lib, stdenv, fetchurl, meson, mesonEmulatorHook, ninja, pkg-config, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, glib, gdk-pixbuf, gobject-introspection, gnome }:
stdenv.mkDerivation rec {
2018-03-03 06:18:12 +01:00
pname = "libmediaart";
2022-06-02 08:30:51 +02:00
version = "1.9.6";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
2022-06-02 08:30:51 +02:00
sha256 = "w7xQJdfbOAWH+cjrgAxhH2taFta0t4/P+T9ih2pnfxc=";
};
2022-08-07 00:48:42 +02:00
nativeBuildInputs = [ meson ninja pkg-config vala gtk-doc docbook_xsl docbook_xml_dtd_412 gobject-introspection ]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
2019-05-22 13:03:39 +02:00
buildInputs = [ glib gdk-pixbuf ];
mesonFlags = [
"-Dgtk_doc=true"
];
2018-03-03 06:18:12 +01:00
passthru = {
updateScript = gnome.updateScript {
2018-03-03 06:18:12 +01:00
packageName = pname;
versionPolicy = "none";
};
};
meta = with lib; {
description = "Library tasked with managing, extracting and handling media art caches";
maintainers = teams.gnome.members;
license = licenses.gpl2;
platforms = platforms.linux;
};
}