2011-07-21 18:32:35 +01:00
|
|
|
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan }:
|
2005-12-19 10:34:01 +00:00
|
|
|
|
2010-05-19 21:58:56 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gpgme-1.3.0";
|
2011-07-21 18:32:35 +01:00
|
|
|
|
2005-12-19 10:34:01 +00:00
|
|
|
src = fetchurl {
|
2010-05-19 21:58:56 +01:00
|
|
|
url = "ftp://ftp.gnupg.org/gcrypt/gpgme/${name}.tar.bz2";
|
|
|
|
sha256 = "18g6wgiacnbj437yfsczbjxaf041ljia48dnv2qgcqb0sky41q3l";
|
2005-12-19 10:34:01 +00:00
|
|
|
};
|
2011-07-21 18:32:35 +01:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ libgpgerror glib pth libassuan ];
|
2011-06-07 22:50:36 +01:00
|
|
|
|
2011-07-21 18:32:35 +01:00
|
|
|
buildNativeInputs = [ pkgconfig ];
|
2011-06-07 22:50:36 +01:00
|
|
|
|
2010-05-19 21:59:03 +01:00
|
|
|
configureFlags = "--with-gpg=${gnupg}/bin/gpg2";
|
2005-12-19 10:34:01 +00:00
|
|
|
}
|