diff --git a/pkgs/development/nim-packages/parsetoml/default.nix b/pkgs/development/nim-packages/parsetoml/default.nix new file mode 100644 index 000000000000..0c2e31dd41f4 --- /dev/null +++ b/pkgs/development/nim-packages/parsetoml/default.nix @@ -0,0 +1,22 @@ +{ lib, buildNimPackage, fetchFromGitHub }: + +buildNimPackage rec { + pname = "parsetoml"; + version = "0.7.0"; + + src = fetchFromGitHub { + owner = "NimParsers"; + repo = "parsetoml"; + rev = "v${version}"; + hash = "sha256-jtqn59x2ZRRgrPir6u/frsDHnl4kvTJWpbejxti8aHY="; + }; + + doCheck = true; + + meta = with lib; + src.meta // { + description = "A Nim library to parse TOML files"; + license = [ licenses.mit ]; + maintainers = with maintainers; [ sikmir ]; + }; +} diff --git a/pkgs/top-level/nim-packages.nix b/pkgs/top-level/nim-packages.nix index c44d9ac0350a..ecc5a9e0bb7e 100644 --- a/pkgs/top-level/nim-packages.nix +++ b/pkgs/top-level/nim-packages.nix @@ -69,6 +69,8 @@ lib.makeScope newScope (self: packedjson = callPackage ../development/nim-packages/packedjson { }; + parsetoml = callPackage ../development/nim-packages/parsetoml { }; + pixie = callPackage ../development/nim-packages/pixie { }; redis = callPackage ../development/nim-packages/redis { };