python3Packages.azure-mgmt-cognitiveservices: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-28 20:45:44 +02:00 committed by GitHub
parent bda8208612
commit 93a7c9e4be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,28 +3,30 @@
, fetchPypi , fetchPypi
, azure-common , azure-common
, azure-mgmt-core , azure-mgmt-core
, azure-mgmt-nspkg
, msrestazure , msrestazure
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices"; pname = "azure-mgmt-cognitiveservices";
version = "13.1.0"; version = "13.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
extension = "zip"; extension = "zip";
sha256 = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4="; hash = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
msrestazure msrestazure
azure-common azure-common
azure-mgmt-core azure-mgmt-core
azure-mgmt-nspkg
]; ];
# has no tests # Module has no tests
doCheck = false; doCheck = false;
meta = with lib; { meta = with lib; {