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:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,61 @@
{ lib
, fetchFromGitHub
, buildPythonPackage
, awkward
, numpy
, lz4
, xxhash
, zstandard
, pytestCheckHook
, scikit-hep-testdata
}:
buildPythonPackage rec {
pname = "uproot";
version = "4.2.0";
# fetch from github for tests
src = fetchFromGitHub {
owner = "scikit-hep";
repo = "uproot4";
rev = version;
sha256 = "sha256-ft2VXYGb+iPqRUrtOBvl7SgTPfPR4+IOdYFVTNbQAEw=";
};
propagatedBuildInputs = [
awkward
numpy
lz4
xxhash
zstandard
];
checkInputs = [
pytestCheckHook
scikit-hep-testdata
];
preCheck = ''
export HOME="$(mktemp -d)"
'';
disabledTests = [
# tests that try to download files
"test_http"
"test_no_multipart"
"test_fallback"
"test_pickle_roundtrip_http"
];
disabledTestPaths = [
# tests that try to download files
"tests/test_0066-fix-http-fallback-freeze.py"
"tests/test_0088-read-with-http.py"
"tests/test_0220-contiguous-byte-ranges-in-http.py"
];
pythonImportsCheck = [ "uproot" ];
meta = with lib; {
homepage = "https://github.com/scikit-hep/uproot4";
description = "ROOT I/O in pure Python and Numpy";
license = licenses.bsd3;
maintainers = with maintainers; [ veprbl ];
};
}