Merge pull request #259132 from mbalatsko/init-esig

python3Packages.esig: init at 0.9.8.3, python3Packages.iisignature: init at 0.24
This commit is contained in:
OTABI Tomoya 2023-10-06 18:46:43 +09:00 committed by GitHub
commit 5b1c1674ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,60 @@
{ lib
, buildPythonPackage
, fetchPypi
, cmake
, ninja
, oldest-supported-numpy
, scikit-build
, setuptools
, numpy
, iisignature
, boost
}:
buildPythonPackage rec {
pname = "esig";
version = "0.9.8.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-BGZaJSrpNSwZMHBYFDmDVPZOtgam/EVyh5Y5FAB8e1o=";
};
buildInputs = [
boost
];
dontUseCmakeConfigure = true;
nativeBuildInputs = [
cmake
ninja
oldest-supported-numpy
scikit-build
setuptools
];
propagatedBuildInputs = [
numpy
];
passthru.optional-dependencies = {
iisignature = [
iisignature
];
};
# PyPI tarball has no tests
doCheck = false;
pythonImportsCheck = [ "esig" ];
meta = with lib; {
description = "This package provides \"rough path\" tools for analysing vector time series";
homepage = "https://github.com/datasig-ac-uk/esig";
changelog = "https://github.com/datasig-ac-uk/esig/blob/release/CHANGELOG";
license = licenses.gpl3Only;
maintainers = with maintainers; [ mbalatsko ];
};
}

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, numpy
}:
buildPythonPackage rec {
pname = "iisignature";
version = "0.24";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-C5MUxui4BIf68yMZH7NZhq1CJuhrDGfPCjspObaVucY=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [
numpy
];
# PyPI tarball has no tests
doCheck = false;
pythonImportsCheck = [ "iisignature" ];
meta = with lib; {
description = "Iterated integral signature calculations";
homepage = "https://pypi.org/project/iisignature";
license = licenses.mit;
maintainers = with maintainers; [ mbalatsko ];
};
}

View file

@ -3551,6 +3551,8 @@ self: super: with self; {
es-client = callPackage ../development/python-modules/es-client { };
esig = callPackage ../development/python-modules/esig { };
espeak-phonemizer = callPackage ../development/python-modules/espeak-phonemizer { };
esphome-dashboard-api = callPackage ../development/python-modules/esphome-dashboard-api { };
@ -5204,6 +5206,8 @@ self: super: with self; {
inherit (pkgs) igraph;
};
iisignature = callPackage ../development/python-modules/iisignature { };
ijson = callPackage ../development/python-modules/ijson { };
ilua = callPackage ../development/python-modules/ilua { };