at master 897 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 7 poetry-core, 8 setuptools, 9 10 typing-extensions, 11 numpy, 12 scipy, 13}: 14 15buildPythonPackage rec { 16 pname = "csaps"; 17 version = "1.3.3"; 18 pyproject = true; 19 20 src = fetchFromGitHub { 21 owner = "espdev"; 22 repo = "csaps"; 23 tag = "v${version}"; 24 hash = "sha256-1pNJaNExhcRWDjJenEKp1eJ4wZMFXxwWcmepEt6/p0s="; 25 }; 26 27 build-system = [ 28 poetry-core 29 setuptools 30 ]; 31 32 dependencies = [ 33 typing-extensions 34 numpy 35 scipy 36 ]; 37 38 nativeCheckInputs = [ 39 pytestCheckHook 40 ]; 41 42 pythonImportsCheck = [ "csaps" ]; 43 44 meta = { 45 description = "Cubic spline approximation (smoothing)"; 46 homepage = "https://github.com/espdev/csaps"; 47 changelog = "https://github.com/espdev/csaps/blob/v${version}/CHANGELOG.md"; 48 license = lib.licenses.mit; 49 maintainers = with lib.maintainers; [ flokli ]; 50 }; 51}