2024-01-02 11:29:13 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tkrzw";
|
2024-06-20 14:57:18 +00:00
|
|
|
version = "1.0.31";
|
2021-02-05 17:12:51 +00:00
|
|
|
# TODO: defeat multi-output reference cycles
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
|
2024-06-20 14:57:18 +00:00
|
|
|
hash = "sha256-7FdHglIBTHGKRt66WNTGEe5qUcrIyTYPrnuVrUc8l08=";
|
2021-02-05 17:12:51 +00:00
|
|
|
};
|
|
|
|
|
2022-09-11 15:47:08 +00:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace configure \
|
|
|
|
--replace 'PATH=".:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH"' ""
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
doCheck = false; # memory intensive
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Set of implementations of DBM";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://dbmx.net/tkrzw/";
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|