about summary refs log tree commit diff
path: root/pkgs/by-name/xe
diff options
context:
space:
mode:
authorjfvillablanca2023-10-11 20:25:26 +0800
committerjfvillablanca2023-10-18 08:50:00 +0800
commit12a3171606b262304ab36bafd18f13cb8d8b0509 (patch)
tree289c70a2a8cdc986c0b318b37799d28b2db324db /pkgs/by-name/xe
parent89eec3e417aac9897309df0719a23d11baba3368 (diff)
xenon: init at 0.9.1
Diffstat (limited to 'pkgs/by-name/xe')
-rw-r--r--pkgs/by-name/xe/xenon/package.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/by-name/xe/xenon/package.nix b/pkgs/by-name/xe/xenon/package.nix
new file mode 100644
index 000000000000..f3b3f3f50320
--- /dev/null
+++ b/pkgs/by-name/xe/xenon/package.nix
@@ -0,0 +1,31 @@
+{ lib
+, fetchPypi
+, python3
+}:
+
+let
+  pname = "xenon";
+  version = "0.9.1";
+in
+python3.pkgs.buildPythonApplication {
+
+  inherit pname version;
+  format = "setuptools";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-1nRREcPiWLdJpP1CSxuJnZnqGDzqIyNl7i+I/n2AwDs=";
+  };
+
+  doCheck = false;
+
+  propagatedBuildInputs = with python3.pkgs; [ requests radon pyaml ];
+
+  meta = with lib; {
+    description = "Monitoring tool based on radon";
+    homepage = "https://github.com/rubik/xenon";
+    license = licenses.mit;
+    maintainers = with maintainers; [ jfvillablanca ];
+    mainProgram = "xenon";
+  };
+}