Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 57 lines 1.1 kB view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, setuptools_scm 6, pytestCheckHook 7, pytest-asyncio 8, pytest-timeout 9, numpy 10, pandas 11, rich 12, tkinter 13}: 14 15buildPythonPackage rec { 16 pname = "tqdm"; 17 version = "4.60.0"; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "ebdebdb95e3477ceea267decfc0784859aa3df3e27e22d23b83e9b272bf157ae"; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools_scm 26 ]; 27 28 checkInputs = [ 29 pytestCheckHook 30 pytest-asyncio 31 pytest-timeout 32 # tests of optional features 33 numpy 34 rich 35 tkinter 36 ] ++ 37 # pandas is not supported on i686 38 lib.optional (!stdenv.isi686) pandas; 39 40 # Remove performance testing. 41 # Too sensitive for on Hydra. 42 disabledTests = [ 43 "perf" 44 ]; 45 46 LC_ALL="en_US.UTF-8"; 47 48 pythonImportsCheck = [ "tqdm" ]; 49 50 meta = with lib; { 51 description = "A Fast, Extensible Progress Meter"; 52 homepage = "https://github.com/tqdm/tqdm"; 53 changelog = "https://tqdm.github.io/releases/"; 54 license = with licenses; [ mit ]; 55 maintainers = with maintainers; [ fridh ]; 56 }; 57}