From b6a43d62c20b485ca9a47d096fdcc51bb355ae25 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Thu, 4 Jun 2020 12:07:41 -0700 Subject: [PATCH] python38Packages.toggl-cli: disable for python3.8 ``` ERROR: Package 'togglCli' requires a different Python: 3.8.2 not in '>=3.5.0, <3.8.0' ``` --- .../python-modules/toggl-cli/default.nix | 23 +++++++++++++++---- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/toggl-cli/default.nix b/pkgs/development/python-modules/toggl-cli/default.nix index 62d3f2dde24d..29715dd2f53f 100644 --- a/pkgs/development/python-modules/toggl-cli/default.nix +++ b/pkgs/development/python-modules/toggl-cli/default.nix @@ -1,13 +1,26 @@ -{ stdenv, buildPythonPackage, fetchPypi, twine, pbr, click, click-completion, validate-email, -pendulum, ptable, requests, inquirer, pythonOlder, pytest, pytestcov, pytest-mock, faker, factory_boy, -setuptools }: +{ stdenv, buildPythonPackage, fetchPypi, pythonAtLeast, pythonOlder +, click +, click-completion +, factory_boy +, faker +, inquirer +, pbr +, pendulum +, ptable +, pytest +, pytestcov +, pytest-mock +, requests +, setuptools +, twine +, validate-email +}: buildPythonPackage rec { pname = "toggl-cli"; version = "2.1.0"; - - disabled = pythonOlder "3.5"; + disabled = pythonOlder "3.5" || pythonAtLeast "3.8"; src = fetchPypi { pname = "togglCli";