2023-01-11 07:51:40 +00:00
|
|
|
{ lib, stdenv, fetchurl, nimPackages }:
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "tkrzw";
|
2023-03-30 22:05:00 +00:00
|
|
|
version = "1.0.27";
|
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";
|
2023-03-30 22:05:00 +00:00
|
|
|
hash = "sha256-DxLtDtscTPR1yzeOENyQPylKo+VxJTswUAE/MieEoXQ=";
|
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
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
passthru.tests.nim = nimPackages.tkrzw;
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "A set of implementations of DBM";
|
|
|
|
homepage = "https://dbmx.net/tkrzw/";
|
|
|
|
maintainers = with maintainers; [ ehmry ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|