nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix
2021-04-03 17:48:41 +02:00

21 lines
535 B
Nix

{ lib, fetchPypi, buildPythonApplication, protobuf }:
buildPythonApplication rec {
pname = "mypy-protobuf";
version = "2.4";
src = fetchPypi {
inherit pname version;
sha256 = "77e10c476cdd3ee14535c2357e64deac6b1a69f33eb500d795b064acda48c66f";
};
propagatedBuildInputs = [ protobuf ];
meta = with lib; {
description = "Generate mypy stub files from protobuf specs";
homepage = "https://github.com/dropbox/mypy-protobuf";
license = licenses.asl20;
maintainers = with maintainers; [ lnl7 ];
};
}