Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 77 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778{ lib, buildPythonPackage, fetchFromGitHub,
# build-system cython, hatch-vcs, hatchling,
# dependencies emcee, gstools-cython, hankel, meshio, numpy, pyevtk, scipy,
# optional dependencies matplotlib, pyvista,
# tests pytestCheckHook, pytest-cov-stub,}:
buildPythonPackage rec { pname = "gstools"; version = "1.7.0"; pyproject = true;
src = fetchFromGitHub { owner = "GeoStat-Framework"; repo = "GSTools"; tag = "v${version}"; hash = "sha256-rQ7mSa1BWAaRiiE6aQD6jl8BktihY9bjFJV+5eT9n/M="; };
build-system = [ hatch-vcs hatchling ];
dependencies = [ emcee gstools-cython hankel meshio numpy pyevtk scipy ];
optional-dependencies = { plotting = [ matplotlib pyvista ]; };
pythonImportsCheck = [ "gstools" ]; 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/${src.tag}/CHANGELOG.md"; license = lib.licenses.lgpl3Only; maintainers = with lib.maintainers; [ sigmanificient ]; };}