94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
18 lines
455 B
Nix
18 lines
455 B
Nix
{ lib, buildNimPackage, fetchFromGitHub }:
|
|
|
|
buildNimPackage rec {
|
|
pname = "npeg";
|
|
version = "1.2.1";
|
|
src = fetchFromGitHub {
|
|
owner = "zevv";
|
|
repo = pname;
|
|
rev = version;
|
|
hash = "sha256-kN91cp50ZL4INeRWqwrRK6CAkVXUq4rN4YlcN6WL/3Y=";
|
|
};
|
|
doCheck = true;
|
|
meta = src.meta // {
|
|
description = "NPeg is a pure Nim pattern matching library";
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|