Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 26 lines 732 B view raw
1{ lib, buildDunePackage, fetchurl, pcre, dune-configurator }: 2 3buildDunePackage rec { 4 pname = "pcre"; 5 version = "7.5.0"; 6 7 useDune2 = true; 8 9 minimalOCamlVersion = "4.12"; 10 11 src = fetchurl { 12 url = "https://github.com/mmottl/pcre-ocaml/releases/download/${version}/pcre-${version}.tbz"; 13 sha256 = "sha256-ZxFC9AtthhccvAZyU/qt+QMBkWHVdIi9D7bFRWwsvRo="; 14 }; 15 16 buildInputs = [ dune-configurator ]; 17 18 propagatedBuildInputs = [ pcre ]; 19 20 meta = with lib; { 21 homepage = "https://mmottl.github.io/pcre-ocaml"; 22 description = "An efficient C-library for pattern matching with Perl-style regular expressions in OCaml"; 23 license = licenses.lgpl21Plus; 24 maintainers = with maintainers; [ maggesi vbmithr ]; 25 }; 26}