biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / pydmd / default.nix
blob577c25f8ec81d679775d78bff30243519dff7256
2   lib,
3   stdenv,
4   buildPythonPackage,
5   fetchFromGitHub,
6   setuptools,
7   future,
8   matplotlib,
9   numpy,
10   pytestCheckHook,
11   pytest-mock,
12   pythonOlder,
13   scipy,
14   ezyrb,
17 let
18   self = buildPythonPackage rec {
19     pname = "pydmd";
20     version = "1.0.0";
21     pyproject = true;
23     disabled = pythonOlder "3.6";
25     src = fetchFromGitHub {
26       owner = "PyDMD";
27       repo = "PyDMD";
28       rev = "refs/tags/v${version}";
29       hash = "sha256-vprvq3sl/eNtu4cqg0A4XV96dzUt0nOtPmfwEv0h+PI=";
30     };
32     build-system = [ setuptools ];
34     propagatedBuildInputs = [
35       future
36       matplotlib
37       numpy
38       scipy
39       ezyrb
40     ];
42     nativeCheckInputs = [
43       pytestCheckHook
44       pytest-mock
45     ];
47     pytestFlagsArray = [ "tests/test_dmdbase.py" ];
49     pythonImportsCheck = [ "pydmd" ];
51     passthru.tests = self.overrideAttrs (old: {
52       pytestFlagsArray = [ ];
53     });
55     meta = with lib; {
56       description = "Python Dynamic Mode Decomposition";
57       homepage = "https://pydmd.github.io/PyDMD/";
58       changelog = "https://github.com/PyDMD/PyDMD/releases/tag/v${version}";
59       license = licenses.mit;
60       maintainers = with maintainers; [ yl3dy ];
61     };
62   };
64 self