tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python312Packages.fedora-messaging: init at 3.6.0
natsukium
1 year ago
99be53c1
49f72717
+67
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
fedora-messaging
default.nix
top-level
python-packages.nix
+65
pkgs/development/python-modules/fedora-messaging/default.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
poetry-core,
6
6
+
blinker,
7
7
+
click,
8
8
+
crochet,
9
9
+
jsonschema,
10
10
+
pika,
11
11
+
pyopenssl,
12
12
+
requests,
13
13
+
service-identity,
14
14
+
tomli,
15
15
+
twisted,
16
16
+
pytest-mock,
17
17
+
pytest-twisted,
18
18
+
pytestCheckHook,
19
19
+
}:
20
20
+
21
21
+
buildPythonPackage rec {
22
22
+
pname = "fedora-messaging";
23
23
+
version = "3.6.0";
24
24
+
pyproject = true;
25
25
+
26
26
+
src = fetchFromGitHub {
27
27
+
owner = "fedora-infra";
28
28
+
repo = "fedora-messaging";
29
29
+
tag = "v${version}";
30
30
+
hash = "sha256-t5jwEgKLSB8APie+TD3WpgPYcAAPzEQLA+jXGlWVuNU=";
31
31
+
};
32
32
+
33
33
+
build-system = [ poetry-core ];
34
34
+
35
35
+
dependencies = [
36
36
+
blinker
37
37
+
click
38
38
+
crochet
39
39
+
jsonschema
40
40
+
pika
41
41
+
pyopenssl
42
42
+
requests
43
43
+
service-identity
44
44
+
tomli
45
45
+
twisted
46
46
+
];
47
47
+
48
48
+
pythonImportsCheck = [ "fedora_messaging" ];
49
49
+
50
50
+
nativeCheckInputs = [
51
51
+
pytest-mock
52
52
+
pytest-twisted
53
53
+
pytestCheckHook
54
54
+
];
55
55
+
56
56
+
pytestFlagsArray = [ "tests/unit" ];
57
57
+
58
58
+
meta = {
59
59
+
description = "Library for sending AMQP messages with JSON schema in Fedora infrastructure";
60
60
+
homepage = "https://github.com/fedora-infra/fedora-messaging";
61
61
+
changelog = "https://github.com/fedora-infra/fedora-messaging/releases/tag/${src.tag}";
62
62
+
license = lib.licenses.gpl2Plus;
63
63
+
maintainers = with lib.maintainers; [ erictapen ];
64
64
+
};
65
65
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
4525
4525
4526
4526
feather-format = callPackage ../development/python-modules/feather-format { };
4527
4527
4528
4528
+
fedora-messaging = callPackage ../development/python-modules/fedora-messaging { };
4529
4529
+
4528
4530
feedfinder2 = callPackage ../development/python-modules/feedfinder2 { };
4529
4531
4530
4532
feedgen = callPackage ../development/python-modules/feedgen { };