1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 23:02:38 +03:00
nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix

24 lines
664 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonApplication, protobuf, types-protobuf, grpcio-tools, pythonOlder }:
2018-08-17 01:34:39 +02:00
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "2.10";
format = "pyproject";
disabled = pythonOlder "3.6";
2018-08-17 01:34:39 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "1fed214e16351b09946770794a321a818abb744078b1d863a479da070028684c";
2018-08-17 01:34:39 +02:00
};
propagatedBuildInputs = [ protobuf types-protobuf grpcio-tools ];
2018-08-17 01:34:39 +02:00
meta = with lib; {
2018-08-17 01:34:39 +02:00
description = "Generate mypy stub files from protobuf specs";
homepage = "https://github.com/dropbox/mypy-protobuf";
license = licenses.asl20;
maintainers = with maintainers; [ lnl7 ];
};
}