3
0
Fork 0
forked from mirrors/nixpkgs

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

This commit is contained in:
Fabian Affolter 2022-04-22 17:06:46 +02:00 committed by Jonathan Ringer
parent f195f9592c
commit 1812c3275b

View file

@ -5,18 +5,20 @@
, msrestazure
, azure-common
, azure-mgmt-core
, azure-mgmt-nspkg
, isPy3k
, pythonOlder
}:
buildPythonPackage rec {
pname = "azure-mgmt-reservations";
version = "2.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "sha256-5vXdXiRubnzPk4uTFeNHR6rwiHSGbeUREX9eW1pqC3E=";
hash = "sha256-5vXdXiRubnzPk4uTFeNHR6rwiHSGbeUREX9eW1pqC3E=";
};
propagatedBuildInputs = [
@ -24,8 +26,6 @@ buildPythonPackage rec {
msrestazure
azure-common
azure-mgmt-core
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests