gnome3.libgnome-keyring: add updateScript

This commit is contained in:
Jan Tojnar 2018-03-03 02:06:40 +01:00
parent 0dd7c62959
commit c3117c4890
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,10 +1,14 @@
{ stdenv, fetchurl, glib, dbus_libs, libgcrypt, pkgconfig, intltool, gobjectIntrospection }:
{ stdenv, fetchurl, glib, dbus_libs, libgcrypt, pkgconfig, intltool, gobjectIntrospection, gnome3 }:
let
pname = "libgnome-keyring";
version = "3.12.0";
in
stdenv.mkDerivation rec {
name = "libgnome-keyring-3.12.0";
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/libgnome-keyring/3.12/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783";
};
@ -13,9 +17,16 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib gobjectIntrospection dbus_libs libgcrypt ];
nativeBuildInputs = [ pkgconfig intltool ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = {
description = "Framework for managing passwords and other secrets";
homepage = http://live.gnome.org/GnomeKeyring;
homepage = https://wiki.gnome.org/Projects/GnomeKeyring;
license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ];
inherit (glib.meta) platforms maintainers;