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