mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
rnmon: init at 0.3.4 (#532619)
This commit is contained in:
commit
2401bbd608
1 changed files with 47 additions and 0 deletions
47
pkgs/by-name/rn/rnmon/package.nix
Normal file
47
pkgs/by-name/rn/rnmon/package.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "rnmon";
|
||||
version = "0.3.4";
|
||||
pyproject = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lbatalha";
|
||||
repo = "rnmon";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-3ou2F8ePKzh6g63X0l9iX1fTSVe9misGBkPlCUEWpiU=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
python3Packages.hatchling
|
||||
];
|
||||
|
||||
dependencies = with python3Packages; [
|
||||
pyyaml
|
||||
requests
|
||||
rns
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"rnmon"
|
||||
];
|
||||
|
||||
# No tests in the repository
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "RNS Monitoring Agent";
|
||||
homepage = "https://github.com/lbatalha/rnmon";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ drupol ];
|
||||
mainProgram = "rnmon";
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue