uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/development/python-modules/flatbuffers/default.nix
Normal file
22
pkgs/development/python-modules/flatbuffers/default.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ 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";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue