blob: 843eb2f5b1038a6e572db9adc428b2d316df64ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, stdenv, fetchurl, nimPackages }:
stdenv.mkDerivation rec {
pname = "tkrzw";
version = "1.0.26";
# TODO: defeat multi-output reference cycles
src = fetchurl {
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
hash = "sha256-vbuzV4ZZnb0Vl+U9B8BorDD7mHQ7ILwkR35GaFs+aTI=";
};
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;
};
}
|