mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
python3Packages.azure-keyvault-secrets: disable on older Python releases
This commit is contained in:
parent
9e1b79d344
commit
c6753cfeba
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user