1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 cmake, 6 ninja, 7 oldest-supported-numpy, 8 scikit-build, 9 setuptools, 10 numpy, 11 iisignature, 12 boost, 13}: 14 15buildPythonPackage rec { 16 pname = "esig"; 17 version = "1.0.0"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-s0500Kc3i+sd9hZIBXMFfu9KtM0iexqJpEZVmrw0Obw="; 23 }; 24 25 buildInputs = [ boost ]; 26 27 dontUseCmakeConfigure = true; 28 29 nativeBuildInputs = [ 30 cmake 31 ninja 32 oldest-supported-numpy 33 scikit-build 34 setuptools 35 ]; 36 37 propagatedBuildInputs = [ numpy ]; 38 39 optional-dependencies = { 40 iisignature = [ iisignature ]; 41 }; 42 43 # PyPI tarball has no tests 44 doCheck = false; 45 46 pythonImportsCheck = [ "esig" ]; 47 48 meta = with lib; { 49 description = "This package provides \"rough path\" tools for analysing vector time series"; 50 homepage = "https://github.com/datasig-ac-uk/esig"; 51 changelog = "https://github.com/datasig-ac-uk/esig/blob/release/CHANGELOG"; 52 license = licenses.gpl3Only; 53 maintainers = with maintainers; [ mbalatsko ]; 54 }; 55}