Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
731 B
Nix
41 lines
731 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
setuptools,
|
|
pybind11,
|
|
re2,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "google-re2";
|
|
version = "1.1.20250722";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "google_re2";
|
|
inherit version;
|
|
hash = "sha256-XipGTfddvO+f4Nrxinj3PD8KUbgc24ZUYKBXmyJvLvM=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
buildInputs = [ re2 ];
|
|
|
|
dependencies = [ pybind11 ];
|
|
|
|
doCheck = false; # no tests in sdist
|
|
|
|
pythonImportsCheck = [ "re2" ];
|
|
|
|
meta = with lib; {
|
|
description = "RE2 Python bindings";
|
|
homepage = "https://github.com/google/re2";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ alexbakker ];
|
|
};
|
|
}
|