From 61016debe4c72212c5d679f193f362ff88fab4ca Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sun, 5 Mar 2023 15:32:01 +0400 Subject: [PATCH] nimPackages.parsetoml: init at 0.7.0 --- .../nim-packages/parsetoml/default.nix | 22 +++++++++++++++++++ pkgs/top-level/nim-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/nim-packages/parsetoml/default.nix 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 { };