Files
nixpkgs/pkgs/development/python-modules/flatbuffers/default.nix
T

22 lines
526 B
Nix
Raw Normal View History

{ lib
2020-11-13 00:49:05 -05:00
, buildPythonPackage
, flatbuffers
}:
buildPythonPackage rec {
inherit (flatbuffers) pname version src;
sourceRoot = "source/python";
# flatbuffers needs VERSION environment variable for setting the correct
# version, otherwise it uses the current date.
VERSION = "${version}";
2020-11-13 00:49:05 -05:00
pythonImportsCheck = [ "flatbuffers" ];
meta = flatbuffers.meta // {
description = "Python runtime library for use with the Flatbuffers serialization format";
maintainers = with lib.maintainers; [ wulfsta ];
2020-11-13 00:49:05 -05:00
};
}