blob: fa1b032a3c5ef7f4dd8d91e7b1ae05aab79f9a3d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{ lib
, python3
, fetchFromGitHub
, exabgp
, testers
}:
python3.pkgs.buildPythonApplication rec {
pname = "exabgp";
version = "4.2.21";
format = "pyproject";
src = fetchFromGitHub {
owner = "Exa-Networks";
repo = "exabgp";
rev = "refs/tags/${version}";
hash = "sha256-NlGE3yHUXPdxAMGhSaXMT2P1e7P+4AWg4lReP3f6Zx8=";
};
nativeBuildInputs = with python3.pkgs; [
setuptools
];
pythonImportsCheck = [
"exabgp"
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
];
passthru.tests = {
version = testers.testVersion {
package = exabgp;
};
};
meta = with lib; {
description = "The BGP swiss army knife of networking";
homepage = "https://github.com/Exa-Networks/exabgp";
changelog = "https://github.com/Exa-Networks/exabgp/blob/${src.rev}/CHANGELOG.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa raitobezarius ];
};
}
|