2021-03-26 08:19:22 +00:00
|
|
|
{ lib, fetchFromGitHub, curl, python3Packages, glibcLocales }:
|
2016-10-08 14:19:07 +01:00
|
|
|
|
2021-03-26 08:19:22 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-10-08 15:22:38 +01:00
|
|
|
pname = "httpstat";
|
2020-12-25 16:00:21 +00:00
|
|
|
version = "1.3.1";
|
2020-10-08 15:22:38 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "reorx";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-25 16:00:21 +00:00
|
|
|
sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
|
2020-10-08 15:22:38 +01:00
|
|
|
};
|
|
|
|
doCheck = false; # No tests
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
runtimeDeps = [ curl ];
|
2016-10-08 14:19:07 +01:00
|
|
|
|
2020-10-08 15:22:38 +01:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2016-10-08 14:19:07 +01:00
|
|
|
|
2020-10-08 15:22:38 +01: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 15:22:38 +01:00
|
|
|
};
|
|
|
|
}
|