mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
33 lines
877 B
Nix
33 lines
877 B
Nix
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobjectIntrospection, gnome3 }:
|
|
|
|
let
|
|
pname = "libmediaart";
|
|
version = "1.9.4";
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
|
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
|
buildInputs = [ glib gdk_pixbuf ];
|
|
|
|
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;
|
|
};
|
|
}
|