1 { lib, ocaml, fetchFromGitHub, buildDunePackage
6 let params = if lib.versionAtLeast ocaml.version "5.0" then {
8 hash = "sha256-J3qkytgJkk2gT83KJ47nNM4cXqVHbx4iTPK+fLwR7Wk=";
9 propagatedBuildInputs = [ algaeff bwd ];
12 hash = "sha256:1nhz44cyipy922anzml856532m73nn0g7iwkg79yzhq6yb87109w";
16 buildDunePackage rec {
18 inherit (params) version;
20 minimalOCamlVersion = "4.12";
22 src = fetchFromGitHub {
26 inherit (params) hash;
29 propagatedBuildInputs = params.propagatedBuildInputs or [];
33 checkInputs = [ qcheck-alcotest ];
36 description = "Name pattern combinators";
37 homepage = "https://github.com/RedPRL/yuujinchou";
38 license = lib.licenses.asl20;
39 maintainers = [ lib.maintainers.vbgl ];