at v192 680 B view raw
1{stdenv, fetchurl, libtool}: 2 3stdenv.mkDerivation { 4 name = "libtomcrypt-1.17"; 5 6 src = fetchurl { 7 url = "http://libtom.org/files/crypt-1.17.tar.bz2"; 8 sha256 = "e33b47d77a495091c8703175a25c8228aff043140b2554c08a3c3cd71f79d116"; 9 }; 10 11 buildInputs = [libtool]; 12 13 preBuild = '' 14 makeFlagsArray=(LIBPATH=$out/lib INCPATH=$out/include \ 15 DATAPATH=$out/share/doc/libtomcrypt/pdf \ 16 INSTALL_GROUP=$(id -g) \ 17 INSTALL_USER=$(id -u)) 18 ''; 19 20 makefile = "makefile.shared"; 21 22 meta = { 23 homepage = "http://libtom.org/?page=features&newsitems=5&whatfile=crypt"; 24 description = "A fairly comprehensive, modular and portable cryptographic toolkit"; 25 }; 26}