2023-01-11 07:51:40 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildNimPackage rec {
|
|
|
|
pname = "npeg";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "1.2.1";
|
2023-01-11 07:51:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zevv";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-kN91cp50ZL4INeRWqwrRK6CAkVXUq4rN4YlcN6WL/3Y=";
|
2023-01-11 07:51:40 +00:00
|
|
|
};
|
|
|
|
doCheck = true;
|
|
|
|
meta = src.meta // {
|
|
|
|
description = "NPeg is a pure Nim pattern matching library";
|
|
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
}
|