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
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, msrestazure
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-cognitiveservices";
version = "13.1.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4=";
hash = "sha256-FXS834v5uDGiEGcQMIv9iaHxhfcW9uY3VmX7l91Tfj4=";
};
propagatedBuildInputs = [
msrestazure
azure-common
azure-mgmt-core
azure-mgmt-nspkg
];
# has no tests
# Module has no tests
doCheck = false;
meta = with lib; {