46 lines
885 B
Nix
46 lines
885 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
setuptools,
|
|
azure-common,
|
|
azure-mgmt-core,
|
|
msrest,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "azure-mgmt-relay";
|
|
version = "1.1.0";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
extension = "zip";
|
|
sha256 = "c93b7550e64b6734bf23ce57ca974a3ea929b734c58d1fe3669728c4fd2d2eb3";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
msrest
|
|
azure-common
|
|
azure-mgmt-core
|
|
];
|
|
|
|
preBuild = ''
|
|
rm -f azure_bdist_wheel.py
|
|
'';
|
|
|
|
pythonNamespaces = [ "azure.mgmt" ];
|
|
|
|
# has no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "azure.mgmt.relay" ];
|
|
|
|
meta = {
|
|
description = "This is the Microsoft Azure Relay Client Library";
|
|
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ maxwilson ];
|
|
};
|
|
}
|