python312Packages.fedora-messaging: init at 3.6.0
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
poetry-core,
|
||||
blinker,
|
||||
click,
|
||||
crochet,
|
||||
jsonschema,
|
||||
pika,
|
||||
pyopenssl,
|
||||
requests,
|
||||
service-identity,
|
||||
tomli,
|
||||
twisted,
|
||||
pytest-mock,
|
||||
pytest-twisted,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fedora-messaging";
|
||||
version = "3.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fedora-infra";
|
||||
repo = "fedora-messaging";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-t5jwEgKLSB8APie+TD3WpgPYcAAPzEQLA+jXGlWVuNU=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
dependencies = [
|
||||
blinker
|
||||
click
|
||||
crochet
|
||||
jsonschema
|
||||
pika
|
||||
pyopenssl
|
||||
requests
|
||||
service-identity
|
||||
tomli
|
||||
twisted
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "fedora_messaging" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-mock
|
||||
pytest-twisted
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "tests/unit" ];
|
||||
|
||||
meta = {
|
||||
description = "Library for sending AMQP messages with JSON schema in Fedora infrastructure";
|
||||
homepage = "https://github.com/fedora-infra/fedora-messaging";
|
||||
changelog = "https://github.com/fedora-infra/fedora-messaging/releases/tag/${src.tag}";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ erictapen ];
|
||||
};
|
||||
}
|
||||
@@ -4525,6 +4525,8 @@ self: super: with self; {
|
||||
|
||||
feather-format = callPackage ../development/python-modules/feather-format { };
|
||||
|
||||
fedora-messaging = callPackage ../development/python-modules/fedora-messaging { };
|
||||
|
||||
feedfinder2 = callPackage ../development/python-modules/feedfinder2 { };
|
||||
|
||||
feedgen = callPackage ../development/python-modules/feedgen { };
|
||||
|
||||
Reference in New Issue
Block a user