python3Packages.derivative: init at 0.6.3

Python library for numerical differentiation of noisy data.

Fetched from GitHub since PyPI source does not contain tests.
This commit is contained in:
ConstantConstantin
2026-03-31 17:05:05 +02:00
parent d0e4a4b1df
commit ffb60950de
2 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
poetry-core,
# dependencies
numpy,
scipy,
scikit-learn,
spectral-derivatives,
importlib-metadata,
# tests
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "derivative";
version = "0.6.3";
pyproject = true;
src = fetchFromGitHub {
owner = "andgoldschmidt";
repo = "derivative";
tag = "v${version}";
hash = "sha256-vsN1zlD9x0CEOtRIwr/DrtkV+OjiyrI8QL9Z8pB3wrY=";
};
build-system = [ poetry-core ];
dependencies = [
numpy
scipy
scikit-learn
spectral-derivatives
importlib-metadata
];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Numerical differentiation of noisy time series data";
license = lib.licenses.mit;
homepage = "https://derivative.readthedocs.io/en/latest/";
maintainers = with lib.maintainers; [ conny ];
};
}

View File

@@ -3840,6 +3840,8 @@ self: super: with self; {
depyf = callPackage ../development/python-modules/depyf { };
derivative = callPackage ../development/python-modules/derivative { };
derpconf = callPackage ../development/python-modules/derpconf { };
desktop-entry-lib = callPackage ../development/python-modules/desktop-entry-lib { };