1{ 2 buildPythonPackage, 3 cma, 4 linien-client, 5 linien-common, 6 matplotlib, 7 migen, 8 misoc, 9 pytest-plt, 10 pytestCheckHook, 11}: 12 13buildPythonPackage { 14 pname = "linien-tests"; 15 inherit (linien-common) version src; 16 pyproject = false; 17 18 dontBuild = true; 19 dontInstall = true; 20 21 nativeCheckInputs = [ 22 cma 23 linien-client 24 linien-common 25 matplotlib 26 migen 27 misoc 28 pytest-plt 29 pytestCheckHook 30 ]; 31 32 preCheck = '' 33 export HOME=$(mktemp -d) 34 ''; 35 36 disabledTestPaths = [ 37 # require linien-server which is not packaged 38 "tests/test_algorithm_selection.py" 39 "tests/test_approacher.py" 40 "tests/test_optimizer_engines.py" 41 "tests/test_optimizer_utils.py" 42 "tests/test_robust_autolock.py" 43 "tests/test_simple_autolock_cpu.py" 44 ]; 45}