python3Packages.azure-mgmt-notificationhubs: migrate to pyproject (#528388)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
msrest,
|
||||
msrestazure,
|
||||
azure-common,
|
||||
@@ -9,18 +10,22 @@
|
||||
azure-mgmt-nspkg,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "azure-mgmt-notificationhubs";
|
||||
version = "8.0.0";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
inherit (finalAttrs) pname version;
|
||||
extension = "zip";
|
||||
sha256 = "4dd924f4704993e3ebf1d42e2be1cbe0b0d908e695857fa08c4369ae11d0eb36";
|
||||
hash = "sha256-Tdkk9HBJk+Pr8dQuK+HL4LDZCOaVhX+gjENprhHQ6zY=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
msrest
|
||||
msrestazure
|
||||
azure-common
|
||||
@@ -31,10 +36,12 @@ buildPythonPackage rec {
|
||||
# has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "azure.mgmt.notificationhubs" ];
|
||||
|
||||
meta = {
|
||||
description = "This is the Microsoft Azure Notification Hubs Management Client Library";
|
||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ maxwilson ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user