nimPackages.db_connector: package broken out of standard library

This commit is contained in:
Emery Hemingway 2023-08-02 15:16:52 +01:00
parent 62dba54481
commit c9afaec459
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage (final: prev: {
pname = "db_connector";
version = "unstable-2023-02-23";
src = fetchFromGitHub {
owner = "nim-lang";
repo = "db_connector";
rev = "e65693709dd042bc723c8f1d46cc528701f1c479";
hash = "sha256-g5X51VbES8OxR5m9WexK70Yo6S2PnroKLabj1cUu1P0=";
};
doCheck = false; # tests only worked in the Nim sources
meta = final.src.meta // {
description = "Unified db connector in Nim";
homepage = "https://github.com/nim-lang/db_connector";
license = [ lib.licenses.mit ];
maintainers = with lib.maintainers; [ ehmry ];
};
})

View File

@ -31,6 +31,8 @@ lib.makeScope newScope (self:
coap = callPackage ../development/nim-packages/coap { };
db_connector = callPackage ../development/nim-packages/db_connector { };
docopt = callPackage ../development/nim-packages/docopt { };
eris = callPackage ../development/nim-packages/eris { };