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