c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
18 lines
471 B
Nix
18 lines
471 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=";
|
|
};
|
|
nimFlags = [ "--threads:off" ];
|
|
meta = src.meta // {
|
|
description = "NPeg is a pure Nim pattern matching library";
|
|
maintainers = with lib.maintainers; [ ehmry ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|