depot/third_party/nixpkgs/pkgs/development/nim-packages/npeg/default.nix

19 lines
455 B
Nix
Raw Normal View History

{ 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;
};
}