mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
31 lines
812 B
Nix
31 lines
812 B
Nix
{ lib, stdenv, fetchurl, nimPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tkrzw";
|
|
version = "1.0.27";
|
|
# TODO: defeat multi-output reference cycles
|
|
|
|
src = fetchurl {
|
|
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
|
|
hash = "sha256-DxLtDtscTPR1yzeOENyQPylKo+VxJTswUAE/MieEoXQ=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|