2014-01-10 01:11:38 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, dbus, libgcrypt, libtasn1, pam, python, glib, libxslt
|
2014-02-07 00:28:07 +01:00
|
|
|
, intltool, pango, gcr, gdk_pixbuf, atk, p11_kit, makeWrapper
|
2014-01-26 00:19:49 +01:00
|
|
|
, docbook_xsl_ns, docbook_xsl, gnome3 }:
|
2013-02-21 20:36:20 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-01-10 01:11:38 +01:00
|
|
|
name = "gnome-keyring-3.10.1";
|
2013-02-21 20:36:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-01-10 01:11:38 +01:00
|
|
|
url = "mirror://gnome/sources/gnome-keyring/3.10/${name}.tar.xz";
|
|
|
|
sha256 = "1y6v2p14jx5h6yh14c53pd8r0r5zbmcgw8v4nxvf94kd9jliy00q";
|
2013-02-21 20:36:20 +01:00
|
|
|
};
|
|
|
|
|
2014-01-26 00:19:49 +01:00
|
|
|
buildInputs = with gnome3; [
|
2013-02-21 20:36:20 +01:00
|
|
|
dbus libgcrypt pam python gtk3 gconf libgnome_keyring
|
2014-02-07 00:28:07 +01:00
|
|
|
pango gcr gdk_pixbuf atk p11_kit makeWrapper
|
2013-02-21 20:36:20 +01:00
|
|
|
];
|
|
|
|
|
2014-01-10 01:11:38 +01:00
|
|
|
propagatedBuildInputs = [ glib libtasn1 libxslt ];
|
2013-02-21 20:36:20 +01:00
|
|
|
|
2014-01-10 01:11:38 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool docbook_xsl_ns docbook_xsl ];
|
2013-02-21 20:36:20 +01:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-ca-certificates=/etc/ssl/certs/ca-bundle.crt" # NixOS hardcoded path
|
|
|
|
"--with-pkcs11-config=$$out/etc/pkcs11/" # installation directories
|
|
|
|
"--with-pkcs11-modules=$$out/lib/pkcs11/"
|
|
|
|
];
|
2014-01-10 01:09:26 +01:00
|
|
|
|
2014-02-07 00:28:07 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram "$out/bin/gnome-keyring" \
|
|
|
|
--prefix XDG_DATA_DIRS : "${glib}/share:$out/share"
|
|
|
|
wrapProgram "$out/bin/gnome-keyring-daemon" \
|
|
|
|
--prefix XDG_DATA_DIRS : "${glib}/share:$out/share"
|
|
|
|
'';
|
|
|
|
|
2014-01-10 01:09:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2013-02-21 20:36:20 +01:00
|
|
|
}
|