depot/third_party/nixpkgs/pkgs/development/python-modules/pydmd/default.nix
Default email 456cea78a8 Project import generated by Copybara.
GitOrigin-RevId: 88226ea038e538e09c272a7c56ba73c3f5eed57f
2021-08-25 10:27:29 +02:00

39 lines
781 B
Nix

{ 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;
};
}