Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142{ lib, buildPythonPackage, fetchFromGitHub, pyahocorasick, pytestCheckHook, setuptools-scm, setuptools,}:
buildPythonPackage (finalAttrs: { pname = "multiregex"; version = "2.0.4"; pyproject = true;
src = fetchFromGitHub { owner = "quantco"; repo = "multiregex"; tag = finalAttrs.version; hash = "sha256-BWADzarhnzcz2ZvD33XcQpQIIJ0hmhUT33HyUbB1wH0="; };
build-system = [ setuptools setuptools-scm ];
dependencies = [ pyahocorasick ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "multiregex" ];
meta = { description = "Quickly match many regexes against a string"; homepage = "https://github.com/quantco/multiregex"; changelog = "https://github.com/quantco/multiregex/blob/${finalAttrs.src.tag}/CHANGELOG.rst"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fab ]; };})