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

21 lines
545 B
Nix
Raw Normal View History

2018-08-17 01:34:39 +02:00
{ stdenv, fetchPypi, buildPythonApplication, protobuf }:
buildPythonApplication rec {
pname = "mypy-protobuf";
2018-11-04 11:35:06 +01:00
version = "1.7";
2018-08-17 01:34:39 +02:00
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:06 +01:00
sha256 = "00b030f9558454ec237576def2de9b7e50517ae039e03d84482b6ddf1bd1d54d";
2018-08-17 01:34:39 +02: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 ];
};
}