gnome3.libgee: add updateScript
This commit is contained in:
parent
e8ca1348b9
commit
6694dfcea1
@ -1,13 +1,13 @@
|
|||||||
{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }:
|
{ stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }:
|
||||||
let
|
let
|
||||||
ver_maj = "0.20";
|
pname = "libgee";
|
||||||
ver_min = "0";
|
version = "0.20.0";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libgee-${ver_maj}.${ver_min}";
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnome/sources/libgee/${ver_maj}/${name}.tar.xz";
|
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
|
||||||
sha256 = "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11";
|
sha256 = "1fy24dr8imrjlmsqj1syn0gi139gba6hwk3j5vd6sr3pxniqnc11";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -18,6 +18,13 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig autoconf vala gobjectIntrospection ];
|
nativeBuildInputs = [ pkgconfig autoconf vala gobjectIntrospection ];
|
||||||
buildInputs = [ glib ];
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
description = "Utility library providing GObject-based interfaces and classes for commonly used data structures";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user