File tree Expand file tree Collapse file tree 2 files changed +37
-0
lines changed
development/ocaml-modules/pcre2 Expand file tree Collapse file tree 2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ fetchFromGitHub ,
4+ buildDunePackage ,
5+ dune-configurator ,
6+ pcre2 ,
7+ version ? "8.0.3" ,
8+ } :
9+
10+ buildDunePackage {
11+ pname = "pcre2" ;
12+ inherit version ;
13+
14+ minimalOCamlVersion = "4.08" ;
15+
16+ src = fetchFromGitHub {
17+ owner = "camlp5" ;
18+ repo = "pcre2-ocaml" ;
19+ tag = version ;
20+ hash = "sha256-YqzpK4Syh9pP64+bwdSiphdfJdwsWQSaOrpKsoKSWyU=" ;
21+ } ;
22+
23+ buildInputs = [ dune-configurator ] ;
24+ propagatedBuildInputs = [ pcre2 ] ;
25+
26+ meta = {
27+ description = "OCaml bindings to PCRE" ;
28+ homepage = "https://github.com/camlp5/pcre2-ocaml/" ;
29+ changelog = "https://raw.githubusercontent.com/camlp5/pcre2-ocaml/refs/tags/${ version } /CHANGES.md" ;
30+ license = lib . licenses . lgpl21Only ;
31+ maintainers = [ lib . maintainers . vbgl ] ;
32+ } ;
33+ }
Original file line number Diff line number Diff line change @@ -1546,6 +1546,10 @@ let
15461546
15471547 pbrt = callPackage ../development/ocaml-modules/pbrt { } ;
15481548
1549+ pcre2 = callPackage ../development/ocaml-modules/pcre2 {
1550+ inherit ( pkgs ) pcre2 ;
1551+ } ;
1552+
15491553 pcap-format = callPackage ../development/ocaml-modules/pcap-format { } ;
15501554
15511555 pecu = callPackage ../development/ocaml-modules/pecu { } ;
You can’t perform that action at this time.
0 commit comments