1{
2 lib,
3 stdenv,
4 fetchurl,
5 m4,
6}:
7
8stdenv.mkDerivation (finalAttrs: {
9 pname = "beecrypt";
10 version = "4.2.1";
11
12 src = fetchurl {
13 url = "mirror://sourceforge/beecrypt/beecrypt-${finalAttrs.version}.tar.gz";
14 hash = "sha256-KG8fVggNGmsdAkADpfohWPT/gsrgxoKdPEdqS1iYxV0=";
15 };
16
17 postPatch = ''
18 sed -i '33i #include "beecrypt/endianness.h"' blockmode.c
19 '';
20
21 buildInputs = [ m4 ];
22
23 configureFlags = [
24 "--disable-optimized"
25 "--enable-static"
26 ];
27
28 meta = {
29 description = "Strong and fast cryptography toolkit library";
30 platforms = lib.platforms.linux;
31 license = lib.licenses.lgpl2;
32 maintainers = [ ];
33 };
34})