Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 45 lines
Nix
at gcc-offload
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ buildPythonPackage, fetchPypi, lib, setuptools, protobuf,}:
buildPythonPackage rec { pname = "protobuf"; version = "5.28.3"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-ZLrbxJGApeQB83P5znqx0Ytj991KnNxDySufC0gc73s="; };
build-system = [ setuptools ];
propagatedNativeBuildInputs = [ protobuf ];
# the pypi source archive does not ship tests doCheck = false;
pythonImportsCheck = [ "google.protobuf" "google.protobuf.compiler" "google.protobuf.internal" "google.protobuf.pyext" "google.protobuf.testdata" "google.protobuf.util" "google._upb._message" ];
meta = { description = "Protocol Buffers are Google's data interchange format"; homepage = "https://developers.google.com/protocol-buffers/"; changelog = "https://github.com/protocolbuffers/protobuf/releases/v${version}"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ SuperSandro2000 ]; };}