python3Packlages.gstools: 1.6.1 -> 1.7.0

This commit is contained in:
Sarah Clark
2025-07-23 10:23:03 -07:00
parent 21bdd3714f
commit aa565ae949
@@ -5,44 +5,47 @@
# build-system
cython,
extension-helpers,
numpy,
setuptools,
setuptools-scm,
hatch-vcs,
hatchling,
# dependencies
hankel,
emcee,
gstools-cython,
hankel,
meshio,
numpy,
pyevtk,
scipy,
# optional dependencies
matplotlib,
pyvista,
# tests
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "gstools";
version = "1.6.1";
version = "1.7.0";
pyproject = true;
src = fetchFromGitHub {
owner = "GeoStat-Framework";
repo = "GSTools";
tag = "v${version}";
hash = "sha256-Aieuk0Xjlut8rTZoFHcBpPtyIj/fstMrHiiKyDOpQlg=";
hash = "sha256-rQ7mSa1BWAaRiiE6aQD6jl8BktihY9bjFJV+5eT9n/M=";
};
build-system = [
cython
extension-helpers
numpy
setuptools
setuptools-scm
hatch-vcs
hatchling
];
dependencies = [
emcee
gstools-cython
hankel
meshio
numpy
@@ -50,13 +53,23 @@ buildPythonPackage rec {
scipy
];
optional-dependencies = {
plotting = [
matplotlib
pyvista
];
};
pythonImportsCheck = [ "gstools" ];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
] ++ lib.flatten (lib.attrValues optional-dependencies);
meta = {
description = "Geostatistical toolbox";
homepage = "https://github.com/GeoStat-Framework/GSTools";
changelog = "https://github.com/GeoStat-Framework/GSTools/blob/v${version}/CHANGELOG.md";
changelog = "https://github.com/GeoStat-Framework/GSTools/blob/${src.tag}/CHANGELOG.md";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ sigmanificient ];
};