Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
584 B · 25 lines
Nix
1234567891011121314151617181920212223242526{ lib, buildPythonPackage, flatbuffers,}:
buildPythonPackage rec { inherit (flatbuffers) pname version src;
format = "setuptools";
sourceRoot = "${src.name}/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"; };}