python310Packages.pytapo: disable uinsupported Python releases

This commit is contained in:
Fabian Affolter 2023-05-24 09:03:24 +02:00 committed by GitHub
parent 44f1205e99
commit 4ec2b91ac0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonOlder
# propagates # propagates
, pycryptodome , pycryptodome
@ -14,6 +15,8 @@ buildPythonPackage rec {
version = "3.1.13"; version = "3.1.13";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-fuColL2POq9hGL53oxPGZri5m1AqBPwdggCt6i4RM/Q="; hash = "sha256-fuColL2POq9hGL53oxPGZri5m1AqBPwdggCt6i4RM/Q=";
@ -34,7 +37,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {
description = "Python library for communication with Tapo Cameras "; description = "Python library for communication with Tapo Cameras";
homepage = "https://github.com/JurajNyiri/pytapo"; homepage = "https://github.com/JurajNyiri/pytapo";
license = with licenses; [ mit ]; license = with licenses; [ mit ];
maintainers = with maintainers; [ fleaz ]; maintainers = with maintainers; [ fleaz ];