diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-03-03 02:06:40 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-03-04 20:05:50 +0100 |
commit | c3117c4890dd1321ab259c5561118783edfa0618 (patch) | |
tree | 67c442468b1e3378ce0d077cc8448a131e904ca2 /pkgs/desktops/gnome-3/core/libgnome-keyring | |
parent | 0dd7c62959c2a81050c5020d45b860a602365002 (diff) | |
download | nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar.gz nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar.bz2 nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar.lz nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar.xz nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.tar.zst nixpkgs-c3117c4890dd1321ab259c5561118783edfa0618.zip |
gnome3.libgnome-keyring: add updateScript
Diffstat (limited to 'pkgs/desktops/gnome-3/core/libgnome-keyring')
-rw-r--r-- | pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix b/pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix index 689ece9ad78..d46cf489620 100644 --- a/pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix +++ b/pkgs/desktops/gnome-3/core/libgnome-keyring/default.nix @@ -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; |