mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 23:23:36 +00:00
python311Packages.azure-eventgrid: refactor
This commit is contained in:
parent
6bedf7aad0
commit
47dd124f34
@ -5,27 +5,29 @@
|
|||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isodate
|
, isodate
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, typing-extensions
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "azure-eventgrid";
|
pname = "azure-eventgrid";
|
||||||
version = "4.17.0";
|
version = "4.17.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
hash = "sha256-6/bqxCAvewKR5lI6ulFpP3THu9DH1rDEFwsRynDJ6+k=";
|
hash = "sha256-6/bqxCAvewKR5lI6ulFpP3THu9DH1rDEFwsRynDJ6+k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
azure-common
|
azure-common
|
||||||
azure-core
|
azure-core
|
||||||
isodate
|
isodate
|
||||||
] ++ lib.optionals (pythonOlder "3.8") [
|
|
||||||
typing-extensions
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Module has no tests
|
# Module has no tests
|
||||||
@ -37,7 +39,7 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
|
description = "A fully-managed intelligent event routing service that allows for uniform event consumption using a publish-subscribe model";
|
||||||
homepage = "https://github.com/Azure/azure-sdk-for-python";
|
homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/eventgrid/azure-eventgrid";
|
||||||
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md";
|
changelog = "https://github.com/Azure/azure-sdk-for-python/blob/azure-eventgrid_${version}/sdk/eventgrid/azure-eventgrid/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ maxwilson ];
|
maintainers = with maintainers; [ maxwilson ];
|
||||||
|
Loading…
Reference in New Issue
Block a user