Merge pull request #135055 from yl3dy/pydmd

This commit is contained in:
Sandro 2021-08-24 23:29:41 +02:00 committed by GitHub
commit 67b6ad26b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, stdenv
, python
, fetchFromGitHub
, buildPythonPackage
, future
, numpy
, scipy
, matplotlib
, nose
}:
buildPythonPackage rec {
pname = "pydmd";
version = "0.3.3";
src = fetchFromGitHub {
owner = "mathLab";
repo = "PyDMD";
rev = "v${version}";
sha256 = "1516dhmpwi12v9ly9jj18wpz9k696q5k6aamlrbby8wp8smajgrv";
};
propagatedBuildInputs = [ future numpy scipy matplotlib ];
checkInputs = [ nose ];
checkPhase = ''
${python.interpreter} test.py
'';
pythonImportsCheck = [ "pydmd" ];
meta = {
description = "Python Dynamic Mode Decomposition";
homepage = "https://mathlab.github.io/PyDMD/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ yl3dy ];
broken = stdenv.hostPlatform.isAarch64;
};
}

View file

@ -5981,6 +5981,8 @@ in {
pydispatcher = callPackage ../development/python-modules/pydispatcher { };
pydmd = callPackage ../development/python-modules/pydmd { };
pydns = callPackage ../development/python-modules/py3dns { };
pydocstyle = callPackage ../development/python-modules/pydocstyle { };