mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
gnome3.libmediaart: add updateScript
This commit is contained in:
parent
5b970e47fa
commit
478e3b6252
1 changed files with 12 additions and 3 deletions
|
@ -1,19 +1,28 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobjectIntrospection, gnome3 }:
|
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobjectIntrospection, gnome3 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
majorVersion = "1.9";
|
pname = "libmediaart";
|
||||||
|
version = "1.9.4";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libmediaart-${majorVersion}.4";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libmediaart/${majorVersion}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
|
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
||||||
buildInputs = [ glib gdk_pixbuf ];
|
buildInputs = [ glib gdk_pixbuf ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
versionPolicy = "none";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Library tasked with managing, extracting and handling media art caches";
|
description = "Library tasked with managing, extracting and handling media art caches";
|
||||||
maintainers = gnome3.maintainers;
|
maintainers = gnome3.maintainers;
|
||||||
|
|
Loading…
Reference in a new issue