forked from mirrors/nixpkgs
nimPackages.npeg: init at 1.0.1
This commit is contained in:
parent
4c585b7b6b
commit
ead4a0fb43
18
pkgs/development/nim-packages/npeg/default.nix
Normal file
18
pkgs/development/nim-packages/npeg/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue