about summary refs log tree commit diff
path: root/pkgs/tools/networking/nyx/default.nix
blob: 3476e56993bfc45e6ad0980fd70d6017f0fea09b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 ];
  };
}