new package – libtomcrypt

This commit is contained in:
Francesco Lazzarino 2014-10-14 20:05:51 -05:00 committed by Michael Raskin
parent 67317f4bf6
commit 6e508a61e7
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{stdenv, fetchurl, libtool}:
stdenv.mkDerivation {
name = "libtomcrypt-1.17";
src = fetchurl {
url = "http://libtom.org/files/crypt-1.17.tar.bz2";
sha256 = "e33b47d77a495091c8703175a25c8228aff043140b2554c08a3c3cd71f79d116";
};
buildInputs = [libtool];
preBuild = ''
makeFlagsArray=(LIBPATH=$out/lib INCPATH=$out/include \
DATAPATH=$out/share/doc/libtomcrypt/pdf \
INSTALL_GROUP=$(id -g) \
INSTALL_USER=$(id -u))
'';
makefile = "makefile.shared";
meta = {
homepage = "http://libtom.org/?page=features&newsitems=5&whatfile=crypt";
description = "LibTomCrypt is a fairly comprehensive, modular and portable cryptographic toolkit";
};
}

View File

@ -6134,6 +6134,8 @@ let
libtommath = callPackage ../development/libraries/libtommath { };
libtomcrypt = callPackage ../development/libraries/libtomcrypt { };
libtorrentRasterbar = callPackage ../development/libraries/libtorrent-rasterbar {
# fix "unrecognized option -arch" error
stdenv = if stdenv.isDarwin