Unverified Commit 1072cee6 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

python312Packages.pykrige: init at 1.7.2

parent 56185bfd
Loading
Loading
Loading
Loading
+69 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  cython,
  setuptools,
  setuptools-scm,

  # dependencies
  numpy,
  scipy,

  # tests
  gstools,
  pytestCheckHook,
  scikit-learn,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
  pname = "pykrige";
  version = "1.7.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "GeoStat-Framework";
    repo = "PyKrige";
    tag = "v${version}";
    hash = "sha256-9f8SNlt4qiTlXgx2ica9Y8rmnYzQ5VarvFRfoZ9bSsY=";
  };

  build-system = [
    cython
    numpy
    scipy
    setuptools
    setuptools-scm
  ];

  dependencies = [
    numpy
    scipy
  ];

  nativeCheckInputs = [
    gstools
    pytestCheckHook
    scikit-learn
    writableTmpDirAsHomeHook
  ];

  # Requires network access
  disabledTests = [
    "test_krige_classification_housing"
    "test_pseudo_2d"
    "test_pseudo_3d"
    "test_krige_housing"
  ];

  meta = {
    description = "Kriging Toolkit for Python";
    homepage = "https://github.com/GeoStat-Framework/PyKrige";
    changelog = "https://github.com/GeoStat-Framework/PyKrige/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.bsd3;
    maintainers = [ lib.maintainers.sikmir ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12406,6 +12406,8 @@ self: super: with self; {
  pykrakenapi = callPackage ../development/python-modules/pykrakenapi { };
  pykrige = callPackage ../development/python-modules/pykrige { };
  pykulersky = callPackage ../development/python-modules/pykulersky { };
  pykwalify = callPackage ../development/python-modules/pykwalify { };