mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 10:14:48 +00:00
Python library for numerical differentiation of noisy data. Fetched from GitHub since PyPI source does not contain tests.
51 lines
910 B
Nix
51 lines
910 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|