mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
add libgcrypt-1.6
This commit is contained in:
parent
9725eb13ef
commit
9fa0c71401
44
pkgs/development/libraries/libgcrypt/1.6.nix
Normal file
44
pkgs/development/libraries/libgcrypt/1.6.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ fetchurl, stdenv, libgpgerror, transfig, ghostscript, texinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgcrypt-1.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnupg/libgcrypt/${name}.tar.bz2";
|
||||
sha256 = "024plbybsmnxbp39hs92lp6dzvkz2cb70nv69qrwr55d02350bb6";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ transfig ghostscript texinfo ];
|
||||
|
||||
propagatedBuildInputs = [ libgpgerror ];
|
||||
|
||||
preBuild = ''
|
||||
(cd doc; make stamp-vti)
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# For some reason the tests don't find `libgpg-error.so'.
|
||||
checkPhase = ''
|
||||
LD_LIBRARY_PATH="${libgpgerror}/lib:$LD_LIBRARY_PATH" \
|
||||
make check
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "GNU Libgcrypt, a general-pupose cryptographic library";
|
||||
|
||||
longDescription = ''
|
||||
GNU Libgcrypt is a general purpose cryptographic library based on
|
||||
the code from GnuPG. It provides functions for all
|
||||
cryptographic building blocks: symmetric ciphers, hash
|
||||
algorithms, MACs, public key algorithms, large integer
|
||||
functions, random numbers and a lot of supporting functions.
|
||||
'';
|
||||
|
||||
license = "LGPLv2+";
|
||||
|
||||
homepage = https://www.gnu.org/software/libgcrypt/;
|
||||
repositories.git = git://git.gnupg.org/libgcrypt.git;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -4847,6 +4847,8 @@ let
|
|||
|
||||
libgcrypt = callPackage ../development/libraries/libgcrypt { };
|
||||
|
||||
libgcrypt_1_6 = lowPrio (callPackage ../development/libraries/libgcrypt/1.6.nix { });
|
||||
|
||||
libgcrypt_git = lowPrio (callPackage ../development/libraries/libgcrypt/git.nix { });
|
||||
|
||||
libgdiplus = callPackage ../development/libraries/libgdiplus { };
|
||||
|
@ -8099,7 +8101,7 @@ let
|
|||
gnunet = callPackage ../applications/networking/p2p/gnunet { };
|
||||
|
||||
gnunet_svn = lowPrio (callPackage ../applications/networking/p2p/gnunet/svn.nix {
|
||||
libgcrypt = libgcrypt_git;
|
||||
libgcrypt = libgcrypt_1_6;
|
||||
});
|
||||
|
||||
gocr = callPackage ../applications/graphics/gocr { };
|
||||
|
|
Loading…
Reference in a new issue