7 buildPythonPackage rec {
8 inherit (flatbuffers) pname version src;
10 format = "setuptools";
12 sourceRoot = "${src.name}/python";
14 # flatbuffers needs VERSION environment variable for setting the correct
15 # version, otherwise it uses the current date.
18 pythonImportsCheck = [ "flatbuffers" ];
20 meta = flatbuffers.meta // {
21 description = "Python runtime library for use with the Flatbuffers serialization format";
22 maintainers = with lib.maintainers; [ wulfsta ];
23 mainProgram = "flatc";