python3Packages.spectral-derivatives: init at 0.10
Initial packaging of spectral-derivatives. Python library for computing spectral derivatives using Chebyshev, Fourier and Legendre. Fetched from GitHub since PyPI source does not contain tests.
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
numpy,
|
||||
scipy,
|
||||
matplotlib,
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spectral_derivatives";
|
||||
version = "0.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pavelkomarov";
|
||||
repo = "spectral-derivatives";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-KSx3aW2DgVr1nhtGqIO85s6c5p+1rjnrpMY4e63LLiE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
numpy
|
||||
scipy
|
||||
matplotlib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "specderiv" ];
|
||||
|
||||
meta = {
|
||||
description = "Derivatives by spectral methods";
|
||||
license = lib.licenses.bsd3;
|
||||
homepage = "https://pavelkomarov.com/spectral-derivatives/specderiv.html";
|
||||
maintainers = with lib.maintainers; [ conny ];
|
||||
};
|
||||
}
|
||||
@@ -18090,6 +18090,8 @@ self: super: with self; {
|
||||
|
||||
spectral-cube = callPackage ../development/python-modules/spectral-cube { };
|
||||
|
||||
spectral-derivatives = callPackage ../development/python-modules/spectral-derivatives { };
|
||||
|
||||
speechbrain = callPackage ../development/python-modules/speechbrain { };
|
||||
|
||||
speechrecognition = callPackage ../development/python-modules/speechrecognition { };
|
||||
|
||||
Reference in New Issue
Block a user