diff options
Diffstat (limited to 'pkgs/development/nim-packages')
-rw-r--r-- | pkgs/development/nim-packages/db_connector/default.nix | 19 |
1 files changed, 19 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 ]; + }; +}) |