python3Packages.dmsuite: init at 0.3.0

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>

Changed files
+56
pkgs
development
python-modules
dmsuite
top-level
+54
pkgs/development/python-modules/dmsuite/default.nix
···
+
{
+
lib,
+
stdenv,
+
buildPythonPackage,
+
fetchPypi,
+
numpy,
+
pythonOlder,
+
pytestCheckHook,
+
setuptools,
+
setuptools-scm,
+
scipy,
+
}:
+
+
buildPythonPackage rec {
+
pname = "dmsuite";
+
version = "0.3.0";
+
pyproject = true;
+
+
disabled = pythonOlder "3.8";
+
+
src = fetchPypi {
+
inherit pname version;
+
hash = "sha256-IqLsHkGNgPz2yZm0QMyMMo6Mr2RsU2DPGxYpoNwC3fs=";
+
};
+
+
build-system = [
+
setuptools
+
setuptools-scm
+
];
+
+
dependencies = [
+
numpy
+
scipy
+
];
+
+
nativeCheckInputs = [
+
pytestCheckHook
+
];
+
+
# Slight precision error probably due to different BLAS backend on Darwin
+
disabledTests = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64) [
+
"test_cheb_scaled"
+
];
+
+
pythonImportsCheck = [ "dmsuite" ];
+
+
meta = {
+
description = "Scientific library providing a collection of spectral collocation differentiation matrices";
+
homepage = "https://github.com/labrosse/dmsuite";
+
changelog = "https://github.com/labrosse/dmsuite/releases/tag/v${version}";
+
license = lib.licenses.gpl2Only;
+
maintainers = with lib.maintainers; [ loicreynier ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
dmgbuild = callPackage ../development/python-modules/dmgbuild { };
+
dmsuite = callPackage ../development/python-modules/dmsuite { };
+
dmt-core = callPackage ../development/python-modules/dmt-core { };
dnachisel = callPackage ../development/python-modules/dnachisel { };