nixpkgs/pkgs/development/python-modules/azure-mgmt-servicebus/default.nix

39 lines
820 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, msrest
, msrestazure
, azure-common
, azure-mgmt-nspkg
, isPy3k
}:
buildPythonPackage rec {
pname = "azure-mgmt-servicebus";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "f20920b8fb119ef4abeda4d2dac765a4fc48cd0bcf30c27f8c4cc6d890bc08b1";
};
propagatedBuildInputs = [
msrest
msrestazure
azure-common
] ++ lib.optionals (!isPy3k) [
azure-mgmt-nspkg
];
# has no tests
doCheck = false;
meta = with lib; {
description = "This is the Microsoft Azure Service Bus Management Client Library";
homepage = https://docs.microsoft.com/en-us/python/api/overview/azure/servicebus?view=azure-python;
license = licenses.mit;
maintainers = with maintainers; [ mwilsoninsight ];
};
}