python3Packages.azure-mgmt-media: disable on older Python releases
This commit is contained in:
parent
7e7624c0db
commit
dd39ce1e43
@ -6,17 +6,20 @@
|
|||||||
, azure-common
|
, azure-common
|
||||||
, azure-mgmt-core
|
, azure-mgmt-core
|
||||||
, azure-mgmt-nspkg
|
, azure-mgmt-nspkg
|
||||||
, isPy3k
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-mgmt-media";
|
pname = "azure-mgmt-media";
|
||||||
version = "9.0.0";
|
version = "9.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
extension = "zip";
|
extension = "zip";
|
||||||
sha256 = "sha256-TI7l8sSQ2QUgPqiE3Cu/F67Wna+KHbQS3fuIjOb95ZM=";
|
hash = "sha256-TI7l8sSQ2QUgPqiE3Cu/F67Wna+KHbQS3fuIjOb95ZM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -24,14 +27,14 @@ buildPythonPackage rec {
|
|||||||
msrestazure
|
msrestazure
|
||||||
azure-common
|
azure-common
|
||||||
azure-mgmt-core
|
azure-mgmt-core
|
||||||
] ++ lib.optionals (!isPy3k) [
|
|
||||||
azure-mgmt-nspkg
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# has no tests
|
# has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
pythonImportsCheck = [ "azure.mgmt.media" ];
|
pythonImportsCheck = [
|
||||||
|
"azure.mgmt.media"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "This is the Microsoft Azure Media Services Client Library";
|
description = "This is the Microsoft Azure Media Services Client Library";
|
||||||
|
Loading…
Reference in New Issue
Block a user