66ceb14b5e
I know that pth fails to build on arm, by now.
18 lines
482 B
Nix
18 lines
482 B
Nix
{ stdenv, fetchurl, libgpgerror, gnupg, pkgconfig, glib, pth, libassuan }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "gpgme-1.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "ftp://ftp.gnupg.org/gcrypt/gpgme/${name}.tar.bz2";
|
|
sha256 = "1m7l7nicn6gd952cgspv9xr8whqivbg33nbg8kbpj3dffnl2gvqm";
|
|
};
|
|
|
|
propagatedBuildInputs = [ libgpgerror glib libassuan ]
|
|
++ stdenv.lib.optional pth.supported pth;
|
|
|
|
buildNativeInputs = [ pkgconfig ];
|
|
|
|
configureFlags = "--with-gpg=${gnupg}/bin/gpg2";
|
|
}
|