about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/httpstat/default.nix
blob: 971c973ada21a57ba3760116d247a297e09d181d (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, fetchFromGitHub, curl, python3Packages, glibcLocales }:

python3Packages.buildPythonApplication rec {
  pname = "httpstat";
  version = "1.3.1";
  src = fetchFromGitHub {
    owner = "reorx";
    repo = pname;
    rev = version;
    sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
  };
  doCheck = false; # No tests
  buildInputs = [ glibcLocales ];
  runtimeDeps = [ curl ];

  LC_ALL = "en_US.UTF-8";

  meta = {
    description = "curl statistics made simple";
    mainProgram = "httpstat";
    homepage = "https://github.com/reorx/httpstat";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ nequissimus ];
  };
}