mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-18 14:41:18 +00:00
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:
50
pkgs/development/python-modules/derivative/default.nix
Normal file
50
pkgs/development/python-modules/derivative/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user