about summary refs log tree commit diff
path: root/pkgs/tools/networking/nyx/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/nyx/default.nix')
-rw-r--r--pkgs/tools/networking/nyx/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/networking/nyx/default.nix b/pkgs/tools/networking/nyx/default.nix
new file mode 100644
index 0000000000000..3476e56993bfc
--- /dev/null
+++ b/pkgs/tools/networking/nyx/default.nix
@@ -0,0 +1,25 @@
+{ lib, pythonPackages }:
+
+with pythonPackages;
+
+buildPythonApplication rec {
+  pname = "nyx";
+  version = "2.0.4";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0pm7vfcqr02pzqz4b2f6sw5prxxmgqwr1912am42xmy2i53n7nrq";
+  };
+
+  propagatedBuildInputs = [ stem ];
+
+  # ./run_tests.py returns `TypeError: testFailure() takes exactly 1 argument`
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Command-line monitor for Tor";
+    homepage = https://nyx.torproject.org/;
+    license = licenses.gpl3;
+    maintainers = with maintainers; [ offline ];
+  };
+}