2021-04-05 15:23:46 +00:00
|
|
|
{ lib, fetchFromGitHub, curl, python3Packages, glibcLocales }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-10-11 12:50:04 +00:00
|
|
|
pname = "httpstat";
|
2020-12-26 04:20:00 +00:00
|
|
|
version = "1.3.1";
|
2020-10-11 12:50:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "reorx";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-26 04:20:00 +00:00
|
|
|
sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
|
2020-10-11 12:50:04 +00:00
|
|
|
};
|
|
|
|
doCheck = false; # No tests
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
runtimeDeps = [ curl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-10-11 12:50:04 +00:00
|
|
|
meta = {
|
|
|
|
description = "curl statistics made simple";
|
|
|
|
homepage = "https://github.com/reorx/httpstat";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ nequissimus ];
|
2020-10-11 12:50:04 +00:00
|
|
|
};
|
|
|
|
}
|