diff options
author | Emery Hemingway <ehmry@posteo.net> | 2023-08-02 15:16:52 +0100 |
---|---|---|
committer | Emery Hemingway <ehmry@posteo.net> | 2023-08-21 07:32:46 +0100 |
commit | c9afaec459c918145c602f8f92d3e9ee22c1bcfd (patch) | |
tree | f25adcf72ec21e9c731745e57afbf1e7a3f17965 /pkgs | |
parent | 62dba54481387e524422db58d9e212511fe92dbb (diff) |
nimPackages.db_connector: package broken out of standard library
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/nim-packages/db_connector/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/nim-packages.nix | 2 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/nim-packages/db_connector/default.nix b/pkgs/development/nim-packages/db_connector/default.nix new file mode 100644 index 0000000000000..287d6fd0552c5 --- /dev/null +++ b/pkgs/development/nim-packages/db_connector/default.nix @@ -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 ]; + }; +}) diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index 1cae7145347a4..5527b9a75e58d 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -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 { }; |