1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrest
5, msrestazure
6, azure-common
7, azure-mgmt-core
8, pythonOlder
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-media";
13 version = "10.2.0";
14 format = "setuptools";
15
16 disabled = pythonOlder "3.6";
17
18 src = fetchPypi {
19 inherit pname version;
20 extension = "zip";
21 hash = "sha256-TVq/6dHttDGIUFzn8KTVeDTwcBMmphz3zrsGK7ux4aU=";
22 };
23
24 propagatedBuildInputs = [
25 msrest
26 msrestazure
27 azure-common
28 azure-mgmt-core
29 ];
30
31 # has no tests
32 doCheck = false;
33
34 pythonImportsCheck = [
35 "azure.mgmt.media"
36 ];
37
38 meta = with lib; {
39 description = "This is the Microsoft Azure Media Services Client Library";
40 homepage = "https://github.com/Azure/azure-sdk-for-python";
41 license = licenses.mit;
42 maintainers = with maintainers; [ maxwilson ];
43 };
44}