nixpkgs/pkgs/desktops/gnome-3/misc/libmediaart/default.nix

33 lines
889 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobject-introspection, gnome3 }:
let
2018-03-02 21:18:12 -08:00
pname = "libmediaart";
version = "1.9.4";
in
stdenv.mkDerivation rec {
2018-03-02 21:18:12 -08:00
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2017-12-03 15:27:25 -08:00
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
};
nativeBuildInputs = [ pkgconfig gobject-introspection ];
2017-12-03 15:27:25 -08:00
buildInputs = [ glib gdk_pixbuf ];
2018-03-02 21:18:12 -08:00
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
versionPolicy = "none";
};
};
meta = with stdenv.lib; {
description = "Library tasked with managing, extracting and handling media art caches";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
}