nixpkgs/pkgs/development/python-modules/types-protobuf/default.nix
2023-01-05 13:20:39 +01:00

35 lines
642 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, types-futures
}:
buildPythonPackage rec {
pname = "types-protobuf";
version = "4.21.0.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ffSD00rT/LH6f/8Qc1YNWWyawfQZz6hRsiDJqTOGyZg=";
};
propagatedBuildInputs = [
types-futures
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"google-stubs"
];
meta = with lib; {
description = "Typing stubs for protobuf";
homepage = "https://github.com/python/typeshed";
license = licenses.asl20;
maintainers = with maintainers; [ andersk ];
};
}