evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ezyrb / default.nix
blob3ed46178f1e87dfc855af08f332245997052c1e9
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   future,
7   numpy,
8   scipy,
9   matplotlib,
10   scikit-learn,
11   torch,
12   pytestCheckHook,
15 buildPythonPackage rec {
16   pname = "ezyrb";
17   version = "1.3.0.post2404";
18   format = "setuptools";
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "mathLab";
24     repo = "EZyRB";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-nu75Geyeu1nTLoGaohXB9pmbUWKgdgch9Z5OJqz9xKQ=";
27   };
29   propagatedBuildInputs = [
30     future
31     numpy
32     scipy
33     matplotlib
34     scikit-learn
35     torch
36   ];
38   nativeCheckInputs = [ pytestCheckHook ];
40   pythonImportsCheck = [ "ezyrb" ];
42   disabledTestPaths = [
43     # Exclude long tests
44     "tests/test_podae.py"
45   ];
47   meta = with lib; {
48     description = "Easy Reduced Basis method";
49     homepage = "https://mathlab.github.io/EZyRB/";
50     downloadPage = "https://github.com/mathLab/EZyRB/releases";
51     license = licenses.mit;
52     maintainers = with maintainers; [ yl3dy ];
53   };