567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
39 lines
698 B
Nix
39 lines
698 B
Nix
{
|
|
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 = {
|
|
description = "Iterated integral signature calculations";
|
|
homepage = "https://pypi.org/project/iisignature";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ mbalatsko ];
|
|
};
|
|
}
|