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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
635 B
Nix
Raw Normal View History

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