nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, msrestazure
5, azure-common
6, azure-mgmt-core
7, azure-mgmt-nspkg
8}:
9
10buildPythonPackage rec {
11 pname = "azure-mgmt-relay";
12 version = "1.1.0";
13
14 src = fetchPypi {
15 inherit pname version;
16 extension = "zip";
17 sha256 = "c93b7550e64b6734bf23ce57ca974a3ea929b734c58d1fe3669728c4fd2d2eb3";
18 };
19
20 propagatedBuildInputs = [
21 msrestazure
22 azure-common
23 azure-mgmt-core
24 azure-mgmt-nspkg
25 ];
26
27 pythonNamespaces = [ "azure.mgmt" ];
28
29 # has no tests
30 doCheck = false;
31 pythonImportsCheck = [ "azure.mgmt.relay" ];
32
33 meta = with lib; {
34 description = "This is the Microsoft Azure Relay Client Library";
35 homepage = "https://github.com/Azure/azure-sdk-for-python";
36 license = licenses.mit;
37 maintainers = with maintainers; [ maxwilson ];
38 };
39}