2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
2020-10-11 12:50:04 +00:00
|
|
|
pname = "httpstat";
|
2020-11-30 08:33:03 +00:00
|
|
|
version = "1.3.0";
|
2020-10-11 12:50:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "reorx";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-11-30 08:33:03 +00:00
|
|
|
sha256 = "18k2glnyzxlmry19ijmndim2vqqn3c86smd7xc3haw6k7qafifx1";
|
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";
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
|
|
|
|
};
|
|
|
|
}
|