tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gnome3.libmediaart: add updateScript
Jan Tojnar
8 years ago
478e3b62
5b970e47
+12
-3
1 changed file
expand all
collapse all
unified
split
pkgs
desktops
gnome-3
misc
libmediaart
default.nix
+12
-3
pkgs/desktops/gnome-3/misc/libmediaart/default.nix
···
1
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobjectIntrospection, gnome3 }:
2
3
let
4
-
majorVersion = "1.9";
0
5
in
6
stdenv.mkDerivation rec {
7
-
name = "libmediaart-${majorVersion}.4";
8
9
src = fetchurl {
10
-
url = "mirror://gnome/sources/libmediaart/${majorVersion}/${name}.tar.xz";
11
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
12
};
13
14
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
15
buildInputs = [ glib gdk_pixbuf ];
0
0
0
0
0
0
0
0
16
17
meta = with stdenv.lib; {
18
description = "Library tasked with managing, extracting and handling media art caches";
···
1
{ stdenv, fetchurl, pkgconfig, glib, gdk_pixbuf, gobjectIntrospection, gnome3 }:
2
3
let
4
+
pname = "libmediaart";
5
+
version = "1.9.4";
6
in
7
stdenv.mkDerivation rec {
8
+
name = "${pname}-${version}";
9
10
src = fetchurl {
11
+
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
12
sha256 = "a57be017257e4815389afe4f58fdacb6a50e74fd185452b23a652ee56b04813d";
13
};
14
15
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
16
buildInputs = [ glib gdk_pixbuf ];
17
+
18
+
passthru = {
19
+
updateScript = gnome3.updateScript {
20
+
packageName = pname;
21
+
attrPath = "gnome3.${pname}";
22
+
versionPolicy = "none";
23
+
};
24
+
};
25
26
meta = with stdenv.lib; {
27
description = "Library tasked with managing, extracting and handling media art caches";