mktxp: init at 1.2.9 (#359136)
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
let
|
||||
version = "1.2.9";
|
||||
in
|
||||
python3Packages.buildPythonApplication {
|
||||
pname = "mktxp";
|
||||
inherit version;
|
||||
pyproject = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "akpw";
|
||||
repo = "mktxp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-LPCx5UJuL22aRbRYD+GkDAQ/0RCi+WJwvsF86ZQ01JY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = with python3Packages; [
|
||||
pypaInstallHook
|
||||
setuptoolsBuildHook
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
prometheus-client
|
||||
routeros-api
|
||||
configobj
|
||||
humanize
|
||||
texttable
|
||||
speedtest-cli
|
||||
waitress
|
||||
packaging
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/akpw/mktxp";
|
||||
changelog = "https://github.com/akpw/mktxp/releases/tag/v${version}";
|
||||
description = "Prometheus Exporter for Mikrotik RouterOS devices";
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.BonusPlay ];
|
||||
mainProgram = "mktxp";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user