My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/flatbuffers/default.nix

22 lines
553 B

{ lib
, 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}";
pythonImportsCheck = [ "flatbuffers" ];
meta = flatbuffers.meta // {
description = "Python runtime library for use with the Flatbuffers serialization format";
maintainers = with lib.maintainers; [ wulfsta ];
mainProgram = "flatc";
};
}