nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 742 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildDunePackage, 5 dune-configurator, 6 pcre2, 7 version ? "8.0.4", 8}: 9 10buildDunePackage { 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-UCz8l7kx8d6wlRzLwIx4+LmkG7mwzxy9Ca2DwMT2u+E="; 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}