summary refs log tree commit diff
path: root/pkgs/tools/networking/httpstat/default.nix
blob: b3700fb93389a19da575922948eb2b51d626f1b8 (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
{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:

pythonPackages.buildPythonApplication rec {
    pname = "httpstat";
    version = "1.2.1";
    src = fetchFromGitHub {
      owner = "reorx";
      repo = pname;
      rev = version;
      sha256 = "1vriibcsq4j1hvm5yigbbmmv21dc40y5c9gvd31dg9qkaz26hml6";
    };
    doCheck = false; # No tests
    buildInputs = [ glibcLocales ];
    runtimeDeps = [ curl ];

    LC_ALL = "en_US.UTF-8";

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