at 23.11-beta 1.2 kB view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, setuptools 6, setuptools-scm 7, wheel 8, pytestCheckHook 9, pytest-asyncio 10, pytest-timeout 11, numpy 12, pandas 13, rich 14, tkinter 15}: 16 17buildPythonPackage rec { 18 pname = "tqdm"; 19 version = "4.66.1"; 20 format = "pyproject"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-2I5lH5242FUaYlVtPP+eMDQnTKXWbpMZfPJJDi3Lacc="; 25 }; 26 27 nativeBuildInputs = [ 28 setuptools 29 setuptools-scm 30 wheel 31 ]; 32 33 nativeCheckInputs = [ 34 pytestCheckHook 35 pytest-asyncio 36 pytest-timeout 37 # tests of optional features 38 numpy 39 rich 40 tkinter 41 ] ++ 42 # pandas is not supported on i686 or risc-v 43 lib.optional (!stdenv.isi686 && !stdenv.hostPlatform.isRiscV) pandas; 44 45 pytestFlagsArray = [ 46 "-W" "ignore::FutureWarning" 47 ]; 48 49 # Remove performance testing. 50 # Too sensitive for on Hydra. 51 disabledTests = [ 52 "perf" 53 ]; 54 55 LC_ALL="en_US.UTF-8"; 56 57 pythonImportsCheck = [ "tqdm" ]; 58 59 meta = with lib; { 60 description = "A Fast, Extensible Progress Meter"; 61 homepage = "https://github.com/tqdm/tqdm"; 62 changelog = "https://tqdm.github.io/releases/"; 63 license = with licenses; [ mit ]; 64 maintainers = with maintainers; [ fridh ]; 65 }; 66}