3
0
Fork 0
forked from mirrors/nixpkgs

nimPackages.tkrzw: init at 20220922

This commit is contained in:
Emery Hemingway 2022-12-29 15:58:56 -06:00
parent 5a39dd58c7
commit c34690433f
3 changed files with 25 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, nimPackages }:
stdenv.mkDerivation rec {
pname = "tkrzw";
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
doCheck = false; # memory intensive
passthru.tests.nim = nimPackages.tkrzw;
meta = with lib; {
description = "A set of implementations of DBM";
homepage = "https://dbmx.net/tkrzw/";

View file

@ -0,0 +1,21 @@
{ lib, buildNimPackage, fetchFromSourcehut, pkg-config, tkrzw }:
buildNimPackage rec {
pname = "tkrzw";
version = "20220922";
src = fetchFromSourcehut {
owner = "~ehmry";
repo = "nim-${pname}";
rev = version;
hash = "sha256-66rUuK+wUrqs1QYjteZcaIrfg+LHQNcR+XM+EtVuGsA=";
};
propagatedNativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ tkrzw ];
doCheck = true;
meta = with lib;
src.meta // {
description = "Nim wrappers over some of the Tkrzw C++ library";
license = lib.licenses.apsl20;
maintainers = with lib.maintainers; [ ehmry ];
};
}

View file

@ -90,6 +90,8 @@ lib.makeScope newScope (self:
tempfile = callPackage ../development/nim-packages/tempfile { };
tkrzw = callPackage ../development/nim-packages/tkrzw { inherit (pkgs) tkrzw; };
ui = callPackage ../development/nim-packages/ui { inherit (pkgs) libui; };
unicodedb = callPackage ../development/nim-packages/unicodedb { };