python310Packages.azure-storage-file-share: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-05-11 08:33:46 +02:00 committed by GitHub
parent 960778ef79
commit 5be5a83109
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ buildPythonPackage
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, lib
, pythonOlder
# pythonPackages
, azure-core
@ -12,12 +12,14 @@
buildPythonPackage rec {
pname = "azure-storage-file-share";
version = "12.8.0";
disabled = !isPy3k;
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg=";
hash = "sha256-46OEVjMYFUa8A6Qh+yicrqUuXmUaSzsWT4maBFG6Yqg=";
};
propagatedBuildInputs = [
@ -28,6 +30,7 @@ buildPythonPackage rec {
# requires checkout from monorepo
doCheck = false;
pythonImportsCheck = [
"azure.core"
"azure.storage"
@ -37,8 +40,6 @@ buildPythonPackage rec {
description = "Microsoft Azure File Share Storage Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [
kamadorueda
];
maintainers = with maintainers; [ kamadorueda ];
};
}