lol

python3Packages.python-juicenet: disable on older Python releases

authored by

Fabian Affolter and committed by
GitHub
660fe874 8d2b4a00

+9 -3
+9 -3
pkgs/development/python-modules/python-juicenet/default.nix
··· 1 1 { lib 2 + , aiohttp 2 3 , buildPythonPackage 3 4 , fetchFromGitHub 4 - , aiohttp 5 + , pythonOlder 5 6 }: 6 7 7 8 buildPythonPackage rec { 8 9 pname = "python-juicenet"; 9 10 version = "1.1.0"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.7"; 10 14 11 15 src = fetchFromGitHub { 12 16 owner = "jesserockz"; 13 17 repo = "python-juicenet"; 14 18 rev = "v${version}"; 15 - sha256 = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU="; 19 + hash = "sha256-5RKnVwOfEHzFZCiC8OUpS8exKrENK+I3Ok45HlKEvtU="; 16 20 }; 17 21 18 22 propagatedBuildInputs = [ ··· 22 26 # no tests implemented 23 27 doCheck = false; 24 28 25 - pythonImportsCheck = [ "pyjuicenet" ]; 29 + pythonImportsCheck = [ 30 + "pyjuicenet" 31 + ]; 26 32 27 33 meta = with lib; { 28 34 description = "Read and control Juicenet/Juicepoint/Juicebox based EVSE devices";