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
62
pkgs/development/python-modules/tqdm/default.nix
Normal file
62
pkgs/development/python-modules/tqdm/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, setuptools-scm
|
||||
, pytestCheckHook
|
||||
, pytest-asyncio
|
||||
, pytest-timeout
|
||||
, numpy
|
||||
, pandas
|
||||
, rich
|
||||
, tkinter
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tqdm";
|
||||
version = "4.64.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13a0spki37rdbx54nspcni3bpsp4d7p5ln570yipf1r01v9mbgj0";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
pytest-asyncio
|
||||
pytest-timeout
|
||||
# tests of optional features
|
||||
numpy
|
||||
rich
|
||||
tkinter
|
||||
] ++
|
||||
# pandas is not supported on i686 or risc-v
|
||||
lib.optional (!stdenv.isi686 && !stdenv.hostPlatform.isRiscV) pandas;
|
||||
|
||||
pytestFlagsArray = [
|
||||
# pytest-asyncio 0.17.0 compat; https://github.com/tqdm/tqdm/issues/1289
|
||||
"--asyncio-mode=strict"
|
||||
];
|
||||
|
||||
# Remove performance testing.
|
||||
# Too sensitive for on Hydra.
|
||||
disabledTests = [
|
||||
"perf"
|
||||
];
|
||||
|
||||
LC_ALL="en_US.UTF-8";
|
||||
|
||||
pythonImportsCheck = [ "tqdm" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Fast, Extensible Progress Meter";
|
||||
homepage = "https://github.com/tqdm/tqdm";
|
||||
changelog = "https://tqdm.github.io/releases/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fridh ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue