python3Packages.pydmd: fixed missing dependency
Inited `python3Packages.ezyrb` at 1.3.0.
This commit is contained in:
parent
f0c611e253
commit
fe4c35b4c2
58
pkgs/development/python-modules/ezyrb/default.nix
Normal file
58
pkgs/development/python-modules/ezyrb/default.nix
Normal file
@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, future
|
||||
, numpy
|
||||
, scipy
|
||||
, matplotlib
|
||||
, scikit-learn
|
||||
, pytorch
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ezyrb";
|
||||
version = "1.3.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mathLab";
|
||||
repo = "EZyRB";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-tFkz+j97m+Bgk/87snQMXtgZnykiWYyWJJLaqwRKiaY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
future
|
||||
numpy
|
||||
scipy
|
||||
matplotlib
|
||||
scikit-learn
|
||||
pytorch
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ezyrb"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Exclude long tests
|
||||
"tests/test_podae.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Easy Reduced Basis method";
|
||||
homepage = "https://mathlab.github.io/EZyRB/";
|
||||
downloadPage = "https://github.com/mathLab/EZyRB/releases";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ yl3dy ];
|
||||
};
|
||||
}
|
@ -8,6 +8,7 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, scipy
|
||||
, ezyrb
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -29,6 +30,7 @@ buildPythonPackage rec {
|
||||
matplotlib
|
||||
numpy
|
||||
scipy
|
||||
ezyrb
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
|
@ -3042,6 +3042,8 @@ in {
|
||||
|
||||
ezdxf = callPackage ../development/python-modules/ezdxf { };
|
||||
|
||||
ezyrb = callPackage ../development/python-modules/ezyrb { };
|
||||
|
||||
f90nml = callPackage ../development/python-modules/f90nml { };
|
||||
|
||||
Fabric = callPackage ../development/python-modules/Fabric { };
|
||||
|
Loading…
Reference in New Issue
Block a user