at 23.05-pre 1.1 kB view raw
1{ lib 2, stdenv 3, buildPythonPackage 4, fetchFromGitHub 5, future 6, matplotlib 7, numpy 8, pytestCheckHook 9, pythonOlder 10, scipy 11, ezyrb 12}: 13 14buildPythonPackage rec { 15 pname = "pydmd"; 16 version = "0.4.0.post2211"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.6"; 20 21 src = fetchFromGitHub { 22 owner = "mathLab"; 23 repo = "PyDMD"; 24 rev = "refs/tags/v${version}"; 25 sha256 = "sha256-DTKw7Gy2w+zas9u62SN6QDhoeMEjSk/Ej09do38yfNY="; 26 }; 27 28 propagatedBuildInputs = [ 29 future 30 matplotlib 31 numpy 32 scipy 33 ezyrb 34 ]; 35 36 checkInputs = [ 37 pytestCheckHook 38 ]; 39 40 pytestFlagsArray = [ 41 # test suite takes over 100 vCPU hours, just run small subset of it. 42 # TODO: Add a passthru.tests with all tests 43 "tests/test_dmdbase.py" 44 ]; 45 46 pythonImportsCheck = [ 47 "pydmd" 48 ]; 49 50 meta = with lib; { 51 description = "Python Dynamic Mode Decomposition"; 52 homepage = "https://mathlab.github.io/PyDMD/"; 53 license = licenses.mit; 54 maintainers = with maintainers; [ yl3dy ]; 55 broken = stdenv.hostPlatform.isAarch64; 56 }; 57}