Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 20 lines 545 B view raw
1{ stdenv, fetchPypi, buildPythonApplication, protobuf }: 2 3buildPythonApplication rec { 4 pname = "mypy-protobuf"; 5 version = "1.9"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "be1f14b0b841b49adb2f6018eaa1ce9529c8147eb561909baaa757e8cf9e821b"; 10 }; 11 12 propagatedBuildInputs = [ protobuf ]; 13 14 meta = with stdenv.lib; { 15 description = "Generate mypy stub files from protobuf specs"; 16 homepage = "https://github.com/dropbox/mypy-protobuf"; 17 license = licenses.asl20; 18 maintainers = with maintainers; [ lnl7 ]; 19 }; 20}