Unverified Commit 875cb67e authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.csaps: init at 1.3.2 (#401477)

parents b8c6cc2c 499ac361
Loading
Loading
Loading
Loading
+51 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,

  poetry-core,
  setuptools,

  typing-extensions,
  numpy,
  scipy,
}:

buildPythonPackage rec {
  pname = "csaps";
  version = "1.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "espdev";
    repo = "csaps";
    tag = "v${version}";
    hash = "sha256-T1B0ta104UKLCUc97RQrvUSFt8ZCn9Y1Qiqo4DKHDsI=";
  };

  build-system = [
    poetry-core
    setuptools
  ];

  dependencies = [
    typing-extensions
    numpy
    scipy
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [ "csaps" ];

  meta = {
    description = "Cubic spline approximation (smoothing)";
    homepage = "https://github.com/espdev/csaps";
    changelog = "https://github.com/espdev/csaps/blob/v${version}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ flokli ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2964,6 +2964,8 @@ self: super: with self; {
  csaf-tool = callPackage ../development/python-modules/csaf-tool { };
  csaps = callPackage ../development/python-modules/csaps { };
  cson = callPackage ../development/python-modules/cson { };
  csrmesh = callPackage ../development/python-modules/csrmesh { };