Unverified Commit 94e0f173 authored by Doron Behar's avatar Doron Behar Committed by GitHub
Browse files

python313Packages.lmfit: 1.3.3 -> 1.3.4 (#426868)

parents f7d7117f 6506f078
Loading
Loading
Loading
Loading
+21 −23
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchpatch,
  fetchPypi,
  pythonOlder,

  # build-system
  setuptools,
  setuptools-scm,

  # dependencies
  asteval,
  dill,
  fetchPypi,
  matplotlib,
  numpy,
  pandas,
  pytest-cov-stub,
  pytestCheckHook,
  pythonOlder,
  scipy,
  setuptools-scm,
  setuptools,
  uncertainties,

  # tests
  pytestCheckHook,
  pytest-cov-stub,
  matplotlib,
  pandas,
}:

buildPythonPackage rec {
  pname = "lmfit";
  version = "1.3.3";
  version = "1.3.4";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-czIea4gfL2hiNXIaffwCr2uw8DCiXv62Zjj2KxxgU6E=";
    hash = "sha256-PCLCjEP3F/bFtKO9geiTohSXOcJqWSwEby4zwjz75Jc=";
  };
  patches = [
    # https://github.com/lmfit/lmfit-py/issues/999
    (fetchpatch {
      url = "https://github.com/lmfit/lmfit-py/commit/d4f4e3755d50cb9720c616fcff2cd7b58fbabba5.patch";
      hash = "sha256-h1WK3ajnoX3pOZOduFBKpPz3exfoKzkbO/QNgROLT7c=";
    })
  ];

  build-system = [
    setuptools
@@ -50,21 +48,21 @@ buildPythonPackage rec {
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pytest-cov-stub
    matplotlib
    pandas
    pytest-cov-stub
    pytestCheckHook
  ];

  pythonImportsCheck = [ "lmfit" ];

  disabledTests = [ "test_check_ast_errors" ];

  meta = with lib; {
  meta = {
    description = "Least-Squares Minimization with Bounds and Constraints";
    homepage = "https://lmfit.github.io/lmfit-py/";
    changelog = "https://github.com/lmfit/lmfit-py/releases/tag/${version}";
    license = licenses.bsd3;
    maintainers = with maintainers; [ nomeata ];
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ doronbehar ];
  };
}