summary refs log tree commit diff
path: root/pkgs/development/python-modules/flatbuffers/default.nix
diff options
context:
space:
mode:
authorWulfsta <wulfstawulfsta@gmail.com>2020-11-13 00:49:05 -0500
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-18 13:23:41 -0800
commit3c9c52db4907bd674e3ea32acaf2c9641c1c44bc (patch)
tree86fcb3a31f7fb436838f4bfc90270d109e2642d9 /pkgs/development/python-modules/flatbuffers/default.nix
parent624285d029490d2585a24554ede4edbbddbde9d9 (diff)
downloadnixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar.gz
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar.bz2
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar.lz
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar.xz
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.tar.zst
nixpkgs-3c9c52db4907bd674e3ea32acaf2c9641c1c44bc.zip
pythonPackages.flatbuffers: init at 1.12.0
Diffstat (limited to 'pkgs/development/python-modules/flatbuffers/default.nix')
-rw-r--r--pkgs/development/python-modules/flatbuffers/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flatbuffers/default.nix b/pkgs/development/python-modules/flatbuffers/default.nix
new file mode 100644
index 00000000000..065808dfe6e
--- /dev/null
+++ b/pkgs/development/python-modules/flatbuffers/default.nix
@@ -0,0 +1,17 @@
+{ stdenv
+, buildPythonPackage
+, flatbuffers
+}:
+
+buildPythonPackage rec {
+  inherit (flatbuffers) pname version src;
+
+  sourceRoot = "source/python";
+
+  pythonImportsCheck = [ "flatbuffers" ];
+
+  meta = flatbuffers.meta // {
+    description = "Python runtime library for use with the Flatbuffers serialization format";
+    maintainers = with stdenv.lib.maintainers; [ wulfsta ];
+  };
+}