13 buildPythonPackage rec {
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
23 # There are no tags or releases, but this commit corresponds to the 0.3.1 version
24 # PyPI project contains only a wheel
25 rev = "2a2396014d46283d0c7aff34cde5dafb6c462c58";
26 hash = "sha256-8YedGylH70pI0OyefiS1PG1yc+sg+tchlgcuNvxcNqE=";
30 substituteInPlace setup.py \
31 --replace 'setup_requires=["pytest-runner"],' ""
38 propagatedBuildInputs = [
43 passthru.optional-dependencies = {
52 pythonImportsCheck = [ "seasonal" "seasonal.trend" "seasonal.periodogram" ];
55 ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
58 description = "Robustly estimate trend and periodicity in a timeseries";
59 homepage = "https://github.com/welch/seasonal";
60 license = licenses.mit;
61 maintainers = with maintainers; [ mbalatsko ];