1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/libraries/libtomcrypt/default.nix
2014-11-09 18:50:15 +03:00

27 lines
695 B
Nix

{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";
};
}