Files
nixpkgs/pkgs/development/python-modules/google-re2/default.nix
T
Martin Weinelt aac3c260fa python3Packages.google-re2: 1.1.20250805 -> 1.1.20251105
This commit was automatically generated using update-python-libraries.
2026-02-01 17:19:13 +01:00

38 lines
681 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pybind11,
re2,
}:
buildPythonPackage rec {
pname = "google-re2";
version = "1.1.20251105";
pyproject = true;
src = fetchPypi {
pname = "google_re2";
inherit version;
hash = "sha256-HbFKKS7oMDuR6R58N+BawX08Rn8pQWx5rHCni+PmW9o=";
};
build-system = [ setuptools ];
buildInputs = [ re2 ];
dependencies = [ pybind11 ];
doCheck = false; # no tests in sdist
pythonImportsCheck = [ "re2" ];
meta = {
description = "RE2 Python bindings";
homepage = "https://github.com/google/re2";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ alexbakker ];
};
}