mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
gnome3.libgnome-keyring: add updateScript
This commit is contained in:
parent
0dd7c62959
commit
c3117c4890
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue