nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, azure-common
6, azure-mgmt-core
7, msrest
8, msrestazure
9}:
10
11buildPythonPackage rec {
12 pname = "azure-mgmt-netapp";
13 version = "7.0.0";
14
15 disabled = pythonOlder "3.6";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-ziaddG+6MoPG18OYZyQ9HRx8nfGsz2UbWPC1pWacKto=";
20 extension = "zip";
21 };
22
23 propagatedBuildInputs = [
24 azure-common
25 azure-mgmt-core
26 msrest
27 msrestazure
28 ];
29
30 # no tests included
31 doCheck = false;
32
33 pythonImportsCheck = [
34 "azure.common"
35 "azure.mgmt.netapp"
36 ];
37
38 meta = with lib; {
39 description = "Microsoft Azure NetApp Files Management Client Library for Python";
40 homepage = "https://github.com/Azure/azure-sdk-for-python";
41 license = licenses.mit;
42 maintainers = with maintainers; [ jonringer ];
43 };
44}