about summary refs log tree commit diff
path: root/pkgs/by-name/xe
diff options
context:
space:
mode:
authorPeder Bergebakken Sundt2024-06-06 00:39:49 +0200
committerGitHub2024-06-06 00:39:49 +0200
commitb74cd530d4f8767e919eb31a7cb7a8bd68d65119 (patch)
tree778c16a914c0476a5065b4eaa08e0b639e776d6e /pkgs/by-name/xe
parentb2b3f5d68db96969510e313ef33fa3367bbcc14b (diff)
parent12a3171606b262304ab36bafd18f13cb8d8b0509 (diff)
Merge pull request #260340 from jfvillablanca/xenon
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";
+  };
+}