python3Packages.azure-keyvault-secrets: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-03-29 13:40:42 +02:00 committed by GitHub
parent 9e1b79d344
commit c6753cfeba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,7 @@
{ lib, buildPythonPackage, fetchPypi, isPy27
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, azure-common
, azure-core
, msrest
@ -7,12 +10,14 @@
buildPythonPackage rec {
pname = "azure-keyvault-secrets";
version = "4.4.0";
disabled = isPy27;
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-wLcy253oVdnDl2YGfPQ+L2bNuyi4WfA8eH4zkkzKgtc=";
hash = "sha256-wLcy253oVdnDl2YGfPQ+L2bNuyi4WfA8eH4zkkzKgtc=";
};
propagatedBuildInputs = [
@ -21,7 +26,9 @@ buildPythonPackage rec {
msrest
];
pythonNamespaces = [ "azure.keyvault" ];
pythonNamespaces = [
"azure.keyvault"
];
# requires checkout from mono-repo
doCheck = false;