nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix

21 lines
545 B
Nix
Raw Normal View History

2018-08-17 00:34:39 +01:00
{ stdenv, fetchPypi, buildPythonApplication, protobuf }:
buildPythonApplication rec {
pname = "mypy-protobuf";
2019-02-14 07:37:21 +00:00
version = "1.9";
2018-08-17 00:34:39 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:21 +00:00
sha256 = "be1f14b0b841b49adb2f6018eaa1ce9529c8147eb561909baaa757e8cf9e821b";
2018-08-17 00:34:39 +01:00
};
propagatedBuildInputs = [ protobuf ];
meta = with stdenv.lib; {
description = "Generate mypy stub files from protobuf specs";
homepage = "https://github.com/dropbox/mypy-protobuf";
license = licenses.asl20;
maintainers = with maintainers; [ lnl7 ];
};
}