nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 30 lines 717 B view raw
1{ 2 lib, 3 buildDunePackage, 4 fetchurl, 5 pcre, 6 dune-configurator, 7}: 8 9buildDunePackage (finalAttrs: { 10 pname = "pcre"; 11 version = "8.0.5"; 12 13 src = fetchurl { 14 url = "https://github.com/mmottl/pcre-ocaml/releases/download/${finalAttrs.version}/pcre-${finalAttrs.version}.tbz"; 15 hash = "sha256-7ZvPiNeBdnrWp8BICv8J1YifL8UA3aDRYgoXhtTkRJA="; 16 }; 17 18 buildInputs = [ dune-configurator ]; 19 20 propagatedBuildInputs = [ pcre ]; 21 22 meta = { 23 homepage = "https://mmottl.github.io/pcre-ocaml"; 24 description = "Efficient C-library for pattern matching with Perl-style regular expressions in OCaml"; 25 license = lib.licenses.lgpl21Plus; 26 maintainers = with lib.maintainers; [ 27 vbmithr 28 ]; 29 }; 30})