1{ 2 lib, 3 buildPythonPackage, 4 cloudpickle, 5 dill, 6 fasteners, 7 fetchFromGitLab, 8 qgrid, 9 ipynbname, 10 ipywidgets, 11 odfpy, 12 scipy, 13 plotly, 14 pytestCheckHook, 15 pyyaml, 16 tabulate, 17 tensorboard, 18 torch, 19}: 20 21buildPythonPackage rec { 22 pname = "experiment-utilities"; 23 version = "0.3.6"; 24 format = "setuptools"; 25 26 src = fetchFromGitLab { 27 owner = "creinke"; 28 repo = "exputils"; 29 domain = "gitlab.inria.fr"; 30 rev = "refs/tags/version_${version}"; 31 hash = "sha256-jo0CBSpUc/F1lJ2vagocngDM1Lopw5/AJnt1QwCunA8="; 32 }; 33 34 # This dependency constraint (<=7.6.5) was due to a bug in qgrid that has been patched in its 35 # owned derivation 36 postPatch = '' 37 substituteInPlace setup.cfg \ 38 --replace "ipywidgets >= 7.5.1,<= 7.6.5" "ipywidgets >= 7.5.1" 39 ''; 40 41 propagatedBuildInputs = [ 42 cloudpickle 43 dill 44 fasteners 45 ipynbname 46 ipywidgets 47 odfpy 48 plotly 49 pyyaml 50 qgrid 51 scipy 52 tabulate 53 tensorboard 54 ]; 55 56 nativeCheckInputs = [ 57 pytestCheckHook 58 torch 59 ]; 60 61 disabledTests = [ "test_experimentstarter" ]; 62 63 pythonImportsCheck = [ "exputils" ]; 64 65 meta = with lib; { 66 description = "Various tools to run scientific computer experiments."; 67 homepage = "https://gitlab.inria.fr/creinke/exputils"; 68 license = licenses.gpl3Plus; 69 maintainers = with maintainers; [ GaetanLepage ]; 70 }; 71}