Files
nixpkgs/pkgs/development/python-modules/googleapis-common-protos/default.nix
T
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

45 lines
790 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
grpc,
protobuf,
}:
buildPythonPackage rec {
pname = "googleapis-common-protos";
version = "1.63.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-xkQvegprKoA2lFfXnmZyu33LqriOCEgwJJfj7IB4Cmo=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [
grpc
protobuf
];
# does not contain tests
doCheck = false;
pythonImportsCheck = [
"google.api"
"google.logging"
"google.longrunning"
"google.rpc"
"google.type"
];
meta = with lib; {
description = "Common protobufs used in Google APIs";
homepage = "https://github.com/googleapis/python-api-common-protos";
license = licenses.asl20;
maintainers = [ ];
};
}