Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 624285d02949
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3c9c52db4907
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Nov 18, 2020

  1. pythonPackages.flatbuffers: init at 1.12.0

    Wulfsta authored and Jonathan Ringer committed Nov 18, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    zimbatm Jonas Chevalier
    Copy the full SHA
    3c9c52d View commit details
Showing with 23 additions and 0 deletions.
  1. +17 −0 pkgs/development/python-modules/flatbuffers/default.nix
  2. +6 −0 pkgs/top-level/python-packages.nix
17 changes: 17 additions & 0 deletions pkgs/development/python-modules/flatbuffers/default.nix
Original file line number Diff line number Diff line change
@@ -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 ];
};
}
6 changes: 6 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -2197,6 +2197,10 @@ in {

flask_wtf = callPackage ../development/python-modules/flask-wtf { };

flatbuffers = callPackage ../development/python-modules/flatbuffers {
inherit (pkgs) flatbuffers;
};

flexmock = callPackage ../development/python-modules/flexmock { };

flickrapi = callPackage ../development/python-modules/flickrapi { };
@@ -7083,6 +7087,7 @@ in {
nccl = pkgs.nccl_cudatoolkit_10;
openssl = pkgs.openssl_1_1;
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation Security;
inherit (pkgs) flatbuffers;
};

tensorflow-build_2 = callPackage ../development/python-modules/tensorflow/2 {
@@ -7092,6 +7097,7 @@ in {
nccl = pkgs.nccl_cudatoolkit_11;
openssl = pkgs.openssl_1_1;
inherit (pkgs.darwin.apple_sdk.frameworks) Foundation Security;
inherit (pkgs) flatbuffers;
};

tensorflow-build = self.tensorflow-build_1;