6d4aeb4377
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
30 lines
812 B
Nix
30 lines
812 B
Nix
{ lib, stdenv, fetchurl, nimPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tkrzw";
|
|
version = "1.0.24";
|
|
# TODO: defeat multi-output reference cycles
|
|
|
|
src = fetchurl {
|
|
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
|
|
hash = "sha256-G7SVKgU4b8I5iwAlGHL/w8z0fhI+Awe3V6aqFsOnUrA=";
|
|
};
|
|
|
|
postPatch = ''
|
|
substituteInPlace configure \
|
|
--replace 'PATH=".:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH"' ""
|
|
'';
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
doCheck = false; # memory intensive
|
|
|
|
passthru.tests.nim = nimPackages.tkrzw;
|
|
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;
|
|
};
|
|
}
|