at 24.11-pre 1.1 kB view raw
1{ 2 lib, 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.4"; 20 format = "pyproject"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-5Nk2yd6HJ5KPO+YHlZDpfZq/6NOaWQvmeOtZGf/Bhrs="; 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 pandas 42 ]; 43 44 pytestFlagsArray = [ 45 "-W" 46 "ignore::FutureWarning" 47 "-W" 48 "ignore::DeprecationWarning" 49 ]; 50 51 # Remove performance testing. 52 # Too sensitive for on Hydra. 53 disabledTests = [ "perf" ]; 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 mainProgram = "tqdm"; 62 homepage = "https://github.com/tqdm/tqdm"; 63 changelog = "https://tqdm.github.io/releases/"; 64 license = with licenses; [ mit ]; 65 }; 66}