beecrypt: modernize

This commit is contained in:
Sigmanificient 2025-03-09 19:14:01 +01:00
parent ff403b0b6e
commit 359ed219ac

View File

@ -5,13 +5,13 @@
m4, m4,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "beecrypt"; pname = "beecrypt";
version = "4.2.1"; version = "4.2.1";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/beecrypt/beecrypt-${version}.tar.gz"; url = "mirror://sourceforge/beecrypt/beecrypt-${finalAttrs.version}.tar.gz";
sha256 = "0pf5k1c4nsj77jfq5ip0ra1gzx2q47xaa0s008fnn6hd11b1yvr8"; hash = "sha256-KG8fVggNGmsdAkADpfohWPT/gsrgxoKdPEdqS1iYxV0=";
}; };
postPatch = '' postPatch = ''
@ -19,13 +19,16 @@ stdenv.mkDerivation rec {
''; '';
buildInputs = [ m4 ]; buildInputs = [ m4 ];
configureFlags = [ configureFlags = [
"--disable-optimized" "--disable-optimized"
"--enable-static" "--enable-static"
]; ];
meta = { meta = {
description = "Strong and fast cryptography toolkit library";
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
license = lib.licenses.lgpl2; license = lib.licenses.lgpl2;
maintainers = [ ];
}; };
} })