forked from mirrors/nixpkgs
nimPackages.tkrzw: init at 20220922
This commit is contained in:
parent
5a39dd58c7
commit
c34690433f
|
@ -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/";
|
||||
|
|
21
pkgs/development/nim-packages/tkrzw/default.nix
Normal file
21
pkgs/development/nim-packages/tkrzw/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue