nixpkgs/pkgs/development/libraries/tkrzw/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
812 B
Nix
Raw Normal View History

2022-12-29 21:58:56 +00:00
{ lib, stdenv, fetchurl, nimPackages }:
2021-01-25 18:08:10 +00:00
stdenv.mkDerivation rec {
pname = "tkrzw";
2023-03-28 05:52:38 +00:00
version = "1.0.27";
2021-01-25 18:08:10 +00:00
# TODO: defeat multi-output reference cycles
src = fetchurl {
url = "https://dbmx.net/tkrzw/pkg/tkrzw-${version}.tar.gz";
2023-03-28 05:52:38 +00:00
hash = "sha256-DxLtDtscTPR1yzeOENyQPylKo+VxJTswUAE/MieEoXQ=";
2021-01-25 18:08:10 +00:00
};
postPatch = ''
substituteInPlace configure \
--replace 'PATH=".:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:$PATH"' ""
'';
2021-01-25 18:08:10 +00:00
enableParallelBuilding = true;
doCheck = false; # memory intensive
2022-12-29 21:58:56 +00:00
passthru.tests.nim = nimPackages.tkrzw;
2021-01-25 18:08:10 +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;
};
}