depot/third_party/nixpkgs/pkgs/development/python-modules/azure-mgmt-relay/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
1,002 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
msrestazure,
azure-common,
azure-mgmt-core,
azure-mgmt-nspkg,
}:
buildPythonPackage rec {
pname = "azure-mgmt-relay";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "c93b7550e64b6734bf23ce57ca974a3ea929b734c58d1fe3669728c4fd2d2eb3";
};
propagatedBuildInputs = [
msrestazure
azure-common
azure-mgmt-core
azure-mgmt-nspkg
];
preBuild = ''
rm -f azure_bdist_wheel.py
substituteInPlace setup.cfg \
--replace "azure-namespace-package = azure-mgmt-nspkg" ""
'';
pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;
pythonImportsCheck = [ "azure.mgmt.relay" ];
meta = with lib; {
description = "This is the Microsoft Azure Relay Client Library";
homepage = "https://github.com/Azure/azure-sdk-for-python";
license = licenses.mit;
maintainers = with maintainers; [ maxwilson ];
};
}