about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/nyx/default.nix
blob: cb697e0f5e669c88137bf8c3b934affc04b59fb5 (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
26
{ lib, python3Packages, fetchPypi }:

with python3Packages;

buildPythonApplication rec {
  pname = "nyx";
  version = "2.1.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "02rrlllz2ci6i6cs3iddyfns7ang9a54jrlygd2jw1f9s6418ll8";
  };

  propagatedBuildInputs = [ stem ];

  # ./run_tests.py returns `TypeError: testFailure() takes exactly 1 argument`
  doCheck = false;

  meta = with lib; {
    description = "Command-line monitor for Tor";
    mainProgram = "nyx";
    homepage = "https://nyx.torproject.org/";
    license = licenses.gpl3;
    maintainers = with maintainers; [ offline ];
  };
}