depot/third_party/nixpkgs/pkgs/development/python-modules/pydmd/default.nix
Default email 13da32182d Project import generated by Copybara.
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
2022-08-21 15:32:41 +02:00

57 lines
1 KiB
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchFromGitHub
, future
, matplotlib
, numpy
, pytestCheckHook
, pythonOlder
, scipy
, ezyrb
}:
buildPythonPackage rec {
pname = "pydmd";
version = "0.4.0.post2207";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "mathLab";
repo = "PyDMD";
rev = "refs/tags/v${version}";
sha256 = "sha256-IiHNn8BXOl+eQdxwTrF8PQhDlsMOTj87ugpQ09kDTO4=";
};
propagatedBuildInputs = [
future
matplotlib
numpy
scipy
ezyrb
];
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
# test suite takes over 100 vCPU hours, just run small subset of it.
# TODO: Add a passthru.tests with all tests
"tests/test_dmdbase.py"
];
pythonImportsCheck = [
"pydmd"
];
meta = with lib; {
description = "Python Dynamic Mode Decomposition";
homepage = "https://mathlab.github.io/PyDMD/";
license = licenses.mit;
maintainers = with maintainers; [ yl3dy ];
broken = stdenv.hostPlatform.isAarch64;
};
}