nixpkgs/pkgs/development/python-modules/azure-mgmt-hdinsight/default.nix
2020-08-16 10:12:13 -07:00

32 lines
774 B
Nix

{ lib, buildPythonPackage, fetchPypi, isPy27
, azure-common
, msrest
, msrestazure
}:
buildPythonPackage rec {
version = "1.6.0";
pname = "azure-mgmt-hdinsight";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "b1d06279307c41da5e0a5c9722aa6b36ce3b2c212534a54767210639451b9800";
extension = "zip";
};
propagatedBuildInputs = [ azure-common msrest msrestazure ];
# no tests included
doCheck = false;
pythonImportsCheck = [ "azure.common" "azure.mgmt.hdinsight" ];
meta = with lib; {
description = "Microsoft Azure HDInsight Management Client Library for Python";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ jonringer ];
};
}