diff --git a/pkgs/development/nim-packages/preserves/default.nix b/pkgs/development/nim-packages/preserves/default.nix new file mode 100644 index 000000000000..251975bcad6e --- /dev/null +++ b/pkgs/development/nim-packages/preserves/default.nix @@ -0,0 +1,20 @@ +{ lib, stdenv, buildNimPackage, fetchFromGitea, npeg }: + +buildNimPackage rec { + pname = "preserves"; + version = "20221102"; + src = fetchFromGitea { + domain = "git.syndicate-lang.org"; + owner = "ehmry"; + repo = "${pname}-nim"; + rev = version; + hash = "sha256-oRsq1ugtrOvTn23596BXRy71TQZ4h/Vv6JGqBTZdoKY="; + }; + propagatedBuildInputs = [ npeg ]; + doCheck = !stdenv.isDarwin; + meta = src.meta // { + description = "Nim implementation of the Preserves data language"; + license = lib.licenses.unlicense; + maintainers = with lib.maintainers; [ ehmry ]; + }; +} diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index cfa4345ff236..89da870e4e2f 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -73,6 +73,8 @@ lib.makeScope newScope (self: pixie = callPackage ../development/nim-packages/pixie { }; + preserves = callPackage ../development/nim-packages/preserves { }; + redis = callPackage ../development/nim-packages/redis { }; redpool = callPackage ../development/nim-packages/redpool { };