14 buildPythonPackage rec {
19 src = fetchFromGitHub {
21 repo = "python-hyperscan";
23 hash = "sha256-6PoV9rY9CkXkAMWN2QCnfU4S0OJD/6bzkqFgvEVqNjo=";
27 (pkgs.hyperscan.override { withStatic = true; })
28 # we need static pcre to be built, by default only shared library is built
29 (pcre.overrideAttrs { dontDisableStatic = 0; })
39 pythonImportsCheck = [ "hyperscan" ];
47 description = "A CPython extension for the Hyperscan regular expression matching library";
48 homepage = "https://github.com/darvid/python-hyperscan";
49 changelog = "https://github.com/darvid/python-hyperscan/blob/${src.rev}/CHANGELOG.md";
50 platforms = [ "x86_64-linux" "x86_64-darwin" ];
51 license = licenses.mit;
52 maintainers = with maintainers; [ mbalatsko ];