exabgp: init at 4.2.21
The BGP swiss army knife of networking
This commit is contained in:
parent
f491fc656a
commit
f752ef56b1
2 changed files with 47 additions and 0 deletions
45
pkgs/servers/networking/exabgp/default.nix
Normal file
45
pkgs/servers/networking/exabgp/default.nix
Normal file
|
@ -0,0 +1,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 ];
|
||||
};
|
||||
}
|
|
@ -25281,6 +25281,8 @@ with pkgs;
|
|||
|
||||
eventstore = callPackage ../servers/nosql/eventstore { };
|
||||
|
||||
exabgp = callPackage ../servers/networking/exabgp { };
|
||||
|
||||
exim = callPackage ../servers/mail/exim { };
|
||||
|
||||
fastnetmon-advanced = callPackage ../servers/fastnetmon-advanced { };
|
||||
|
|
Loading…
Reference in a new issue