forked from mirrors/nixpkgs
38 lines
823 B
Nix
38 lines
823 B
Nix
{ lib, buildPythonPackage, fetchPypi, isPy27
|
|
, azure-common
|
|
, azure-mgmt-core
|
|
, msrest
|
|
, msrestazure
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
version = "1.0.0";
|
|
pname = "azure-mgmt-netapp";
|
|
disabled = isPy27;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "e2c0cecd634c0a106e389f39ad767bfd1d718d90692e4e3c9664b1fe9a792ade";
|
|
extension = "zip";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
azure-common
|
|
azure-mgmt-core
|
|
msrest
|
|
msrestazure
|
|
];
|
|
|
|
# no tests included
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "azure.common" "azure.mgmt.netapp" ];
|
|
|
|
meta = with lib; {
|
|
description = "Microsoft Azure NetApp Files Management Client Library for Python";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ jonringer ];
|
|
};
|
|
}
|