arpa2common: 2.6.2 -> 2.6.4

Also tweak to make it build again, e.g. see:
https://hydra.nixos.org/build/306358187/nixlog/4/tail

https://gitlab.com/arpa2/arpa2common/-/blob/v2.6.4/CHANGES
 - Removed last traces of external OpenSSL
 - This library is deprecating our much-needed hard-coded hashes
 - Minor improvements in base85 tooling
This commit is contained in:
Vladimír Čunát
2025-09-08 20:01:56 +02:00
parent 88c1a817fd
commit 93235ae3db

View File

@@ -11,28 +11,25 @@
graphviz, graphviz,
libsodium, libsodium,
lmdb, lmdb,
openssl, krb5,
pkg-config, pkg-config,
ragel, ragel,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "arpa2common"; pname = "arpa2common";
version = "2.6.2"; version = "2.6.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "arpa2"; owner = "arpa2";
repo = "arpa2common"; repo = "arpa2common";
rev = "v${finalAttrs.version}"; rev = "v${finalAttrs.version}";
hash = "sha256-eWfWaO6URCK2FWQ+NYAoeCONkovgsVDPSRQVCGFnW3s="; hash = "sha256-qqdc+eYLnYQs2Q7sk0D5Trr1GbRTmV1w4sZiVwFwfMw=";
}; };
patches = [ postPatch = ''
(fetchpatch { sed '1i#include <stddef.h>' -i lib/identity/identity.rl
url = "https://gitlab.com/arpa2/arpa2common/-/commit/13ea82df60b87a5367db00a8c6f3502e8ecb7298.patch"; '';
hash = "sha256-V9Dhr6PeArqXnuXmFuDjcirlGl7xovq7VQZsrbbMFSk=";
})
];
nativeBuildInputs = [ nativeBuildInputs = [
cmake cmake
@@ -46,10 +43,13 @@ stdenv.mkDerivation (finalAttrs: {
e2fsprogs e2fsprogs
libsodium libsodium
lmdb lmdb
openssl
ragel ragel
]; ];
buildInputs = [
krb5
];
meta = { meta = {
changelog = "https://gitlab.com/arpa2/arpa2common/-/blob/v${finalAttrs.version}/CHANGES"; changelog = "https://gitlab.com/arpa2/arpa2common/-/blob/v${finalAttrs.version}/CHANGES";
description = "ARPA2 ID and ACL libraries and other core data structures for ARPA2"; description = "ARPA2 ID and ACL libraries and other core data structures for ARPA2";