about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/mypy-protobuf/default.nix
blob: 6c6ea7b7b1c9da93ebe903bb79d1236f73a1f4f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, fetchPypi, buildPythonApplication, protobuf, pythonOlder }:

buildPythonApplication rec {
  pname = "mypy-protobuf";
  version = "2.4";

  disabled = pythonOlder "3.6";

  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 ];
  };
}