mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
27 lines
729 B
Nix
27 lines
729 B
Nix
{ lib, buildDunePackage, fetchurl, pcre, dune-configurator }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "pcre";
|
|
version = "7.5.0";
|
|
|
|
useDune2 = true;
|
|
|
|
minimalOCamlVersion = "4.12";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mmottl/pcre-ocaml/releases/download/${version}/pcre-${version}.tbz";
|
|
sha256 = "sha256-ZxFC9AtthhccvAZyU/qt+QMBkWHVdIi9D7bFRWwsvRo=";
|
|
};
|
|
|
|
buildInputs = [ dune-configurator ];
|
|
|
|
propagatedBuildInputs = [ pcre ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://mmottl.github.io/pcre-ocaml";
|
|
description = "Efficient C-library for pattern matching with Perl-style regular expressions in OCaml";
|
|
license = licenses.lgpl21Plus;
|
|
maintainers = with maintainers; [ maggesi vbmithr ];
|
|
};
|
|
}
|