python312Packages.csaps: init at 1.3.2 (#401477)

This commit is contained in:
Gaétan Lepage
2025-04-24 17:53:51 +02:00
committed by GitHub
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
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
View File
@@ -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 { };