1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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 { stdenv.mkDerivation rec {
name = "libgnome-keyring-3.12.0"; name = "${pname}-${version}";
src = fetchurl { 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"; sha256 = "c4c178fbb05f72acc484d22ddb0568f7532c409b0a13e06513ff54b91e947783";
}; };
@ -13,9 +17,16 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib gobjectIntrospection dbus_libs libgcrypt ]; propagatedBuildInputs = [ glib gobjectIntrospection dbus_libs libgcrypt ];
nativeBuildInputs = [ pkgconfig intltool ]; nativeBuildInputs = [ pkgconfig intltool ];
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = { meta = {
description = "Framework for managing passwords and other secrets"; 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 ]; license = with stdenv.lib.licenses; [ gpl2Plus lgpl2Plus ];
inherit (glib.meta) platforms maintainers; inherit (glib.meta) platforms maintainers;