1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 azure-common,
7 azure-mgmt-core,
8 msrest,
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-relay";
13 version = "1.1.0";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 extension = "zip";
19 sha256 = "c93b7550e64b6734bf23ce57ca974a3ea929b734c58d1fe3669728c4fd2d2eb3";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 msrest
26 azure-common
27 azure-mgmt-core
28 ];
29
30 preBuild = ''
31 rm -f azure_bdist_wheel.py
32 '';
33
34 pythonNamespaces = [ "azure.mgmt" ];
35
36 # has no tests
37 doCheck = false;
38 pythonImportsCheck = [ "azure.mgmt.relay" ];
39
40 meta = {
41 description = "This is the Microsoft Azure Relay Client Library";
42 homepage = "https://github.com/Azure/azure-sdk-for-python";
43 license = lib.licenses.mit;
44 maintainers = with lib.maintainers; [ maxwilson ];
45 };
46}