mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 21:18:28 +03:00
Merge pull request #135055 from yl3dy/pydmd
This commit is contained in:
commit
67b6ad26b2
39
pkgs/development/python-modules/pydmd/default.nix
Normal file
39
pkgs/development/python-modules/pydmd/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user