Loading pkgs/development/python-modules/pydmd/default.nix +51 −45 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, setuptools-git-versioning, # dependencies ezyrb, future, h5netcdf, matplotlib, numpy, pytestCheckHook, pytest-mock, pythonOlder, scipy, ezyrb, xarray, # tests pytest-mock, pytestCheckHook, }: let self = buildPythonPackage rec { buildPythonPackage rec { pname = "pydmd"; version = "2025.01.01"; version = "2025.03.01"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "PyDMD"; repo = "PyDMD"; tag = version; hash = "sha256-edjBr0LsfyBEi4YZiTY0GegqgESWgSFennZOi2YFhC4="; hash = "sha256-2pfWW+CLSDr6tJrcLpodil/RnhLTZ5Yqw0ThTCqO0MY="; }; build-system = [ setuptools ]; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools-git-versioning>=2.0,<3" "setuptools-git-versioning" ''; build-system = [ setuptools setuptools-git-versioning ]; propagatedBuildInputs = [ dependencies = [ ezyrb future h5netcdf matplotlib numpy scipy ezyrb xarray ]; pythonImportsCheck = [ "pydmd" ]; nativeCheckInputs = [ pytestCheckHook pytest-mock pytestCheckHook ]; pytestFlagsArray = [ "tests/test_dmdbase.py" ]; pythonImportsCheck = [ "pydmd" ]; passthru.tests = self.overrideAttrs (old: { pytestFlagsArray = [ ]; }); meta = with lib; { meta = { description = "Python Dynamic Mode Decomposition"; homepage = "https://pydmd.github.io/PyDMD/"; changelog = "https://github.com/PyDMD/PyDMD/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ yl3dy ]; }; license = lib.licenses.mit; maintainers = with lib.maintainers; [ yl3dy ]; }; in self } Loading
pkgs/development/python-modules/pydmd/default.nix +51 −45 Original line number Diff line number Diff line { lib, stdenv, buildPythonPackage, fetchFromGitHub, # build-system setuptools, setuptools-git-versioning, # dependencies ezyrb, future, h5netcdf, matplotlib, numpy, pytestCheckHook, pytest-mock, pythonOlder, scipy, ezyrb, xarray, # tests pytest-mock, pytestCheckHook, }: let self = buildPythonPackage rec { buildPythonPackage rec { pname = "pydmd"; version = "2025.01.01"; version = "2025.03.01"; pyproject = true; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "PyDMD"; repo = "PyDMD"; tag = version; hash = "sha256-edjBr0LsfyBEi4YZiTY0GegqgESWgSFennZOi2YFhC4="; hash = "sha256-2pfWW+CLSDr6tJrcLpodil/RnhLTZ5Yqw0ThTCqO0MY="; }; build-system = [ setuptools ]; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools-git-versioning>=2.0,<3" "setuptools-git-versioning" ''; build-system = [ setuptools setuptools-git-versioning ]; propagatedBuildInputs = [ dependencies = [ ezyrb future h5netcdf matplotlib numpy scipy ezyrb xarray ]; pythonImportsCheck = [ "pydmd" ]; nativeCheckInputs = [ pytestCheckHook pytest-mock pytestCheckHook ]; pytestFlagsArray = [ "tests/test_dmdbase.py" ]; pythonImportsCheck = [ "pydmd" ]; passthru.tests = self.overrideAttrs (old: { pytestFlagsArray = [ ]; }); meta = with lib; { meta = { description = "Python Dynamic Mode Decomposition"; homepage = "https://pydmd.github.io/PyDMD/"; changelog = "https://github.com/PyDMD/PyDMD/releases/tag/${src.tag}"; license = licenses.mit; maintainers = with maintainers; [ yl3dy ]; }; license = lib.licenses.mit; maintainers = with lib.maintainers; [ yl3dy ]; }; in self }