nixpkgs/pkgs/tools/networking/httpstat/default.nix

25 lines
635 B
Nix
Raw Normal View History

2021-03-26 09:19:22 +01:00
{ lib, fetchFromGitHub, curl, python3Packages, glibcLocales }:
2016-10-08 15:19:07 +02:00
2021-03-26 09:19:22 +01:00
python3Packages.buildPythonApplication rec {
2020-10-08 16:22:38 +02:00
pname = "httpstat";
2020-12-25 17:00:21 +01:00
version = "1.3.1";
2020-10-08 16:22:38 +02:00
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = version;
2020-12-25 17:00:21 +01:00
sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
2020-10-08 16:22:38 +02:00
};
doCheck = false; # No tests
buildInputs = [ glibcLocales ];
runtimeDeps = [ curl ];
2016-10-08 15:19:07 +02:00
2020-10-08 16:22:38 +02:00
LC_ALL = "en_US.UTF-8";
2016-10-08 15:19:07 +02:00
2020-10-08 16:22:38 +02:00
meta = {
description = "curl statistics made simple";
homepage = "https://github.com/reorx/httpstat";
2021-01-15 10:19:50 +01:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nequissimus ];
2020-10-08 16:22:38 +02:00
};
}