5 , oldest-supported-numpy
14 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
22 owner = "DynamicTimeWarping";
24 rev = "refs/tags/v${version}";
25 hash = "sha256-Y0XzAPc2iJIp799gXTO7bUcHuOrDyqkd64DulLbdcAg=";
30 oldest-supported-numpy
35 propagatedBuildInputs = [
40 # We need to run tests on real built package: https://github.com/NixOS/nixpkgs/issues/255262
42 nativeCheckInputs = [ pytestCheckHook ];
43 # tests/ are not included to output package, so we have to set path explicitly
48 pythonImportsCheck = [ "dtw" ];
51 description = "Python port of R's Comprehensive Dynamic Time Warp algorithms package";
53 homepage = "https://github.com/DynamicTimeWarping/dtw-python";
54 changelog = "https://github.com/DynamicTimeWarping/dtw-python/blob/${src.rev}/CHANGELOG.md";
55 license = licenses.gpl3Only;
56 maintainers = with maintainers; [ mbalatsko ];