2014-10-15 02:05:51 +01:00
|
|
|
{stdenv, fetchurl, libtool}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "libtomcrypt-1.17";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-07-18 10:49:16 +01:00
|
|
|
url = "https://github.com/libtom/libtomcrypt/releases/download/1.17/crypt-1.17.tar.bz2";
|
2014-10-15 02:05:51 +01:00
|
|
|
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 = {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://libtom.org/?page=features&newsitems=5&whatfile=crypt;
|
2015-04-30 16:05:14 +01:00
|
|
|
description = "A fairly comprehensive, modular and portable cryptographic toolkit";
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-10-15 02:05:51 +01:00
|
|
|
};
|
|
|
|
}
|