Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
731 B · 40 lines
Nix
at gcc-offload
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, buildPythonPackage, pythonOlder, fetchPypi, setuptools, pybind11, re2,}:
buildPythonPackage rec { pname = "google-re2"; version = "1.1.20240702"; pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi { pname = "google_re2"; inherit version; hash = "sha256-h4jbafbJPLIp32LHSy2aqOZL91TpSVcA+FgSr6Mu/Ss="; };
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 ]; };}