at master 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.67.1"; 20 format = "pyproject"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-+K75xSwIwTpl8w6jT05arD/Ro0lZh51+WeYwJyhmJ/I="; 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 pytestFlags = [ 45 "-Wignore::FutureWarning" 46 "-Wignore::DeprecationWarning" 47 ]; 48 49 # Remove performance testing. 50 # Too sensitive for on Hydra. 51 disabledTests = [ "perf" ]; 52 53 LC_ALL = "en_US.UTF-8"; 54 55 pythonImportsCheck = [ "tqdm" ]; 56 57 meta = with lib; { 58 description = "Fast, Extensible Progress Meter"; 59 mainProgram = "tqdm"; 60 homepage = "https://github.com/tqdm/tqdm"; 61 changelog = "https://tqdm.github.io/releases/"; 62 license = with licenses; [ mit ]; 63 }; 64}