nimPackages.npeg: init at 1.0.1

This commit is contained in:
Emery Hemingway 2022-12-29 15:39:44 -06:00
parent 4c585b7b6b
commit ead4a0fb43
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,18 @@
{ lib, buildNimPackage, fetchFromGitHub }:
buildNimPackage rec {
pname = "npeg";
version = "1.0.1";
src = fetchFromGitHub {
owner = "zevv";
repo = pname;
rev = version;
hash = "sha256-EN3wTSa+WveO7V29A2lJgWLwIlHzQE8t7T2m4u7niMc=";
};
doCheck = true;
meta = src.meta // {
description = "NPeg is a pure Nim pattern matching library";
maintainers = with lib.maintainers; [ ehmry ];
license = lib.licenses.mit;
};
}

View file

@ -53,6 +53,8 @@ lib.makeScope newScope (self:
noise = callPackage ../development/nim-packages/noise { };
npeg = callPackage ../development/nim-packages/npeg { };
packedjson = callPackage ../development/nim-packages/packedjson { };
pixie = callPackage ../development/nim-packages/pixie { };