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

25 lines
651 B
Nix
Raw Normal View History

2016-10-17 15:18:38 +01:00
{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
2016-10-08 14:19:07 +01:00
2016-10-17 15:18:38 +01:00
pythonPackages.buildPythonApplication rec {
2020-10-08 15:22:38 +01:00
pname = "httpstat";
version = "1.2.1";
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = version;
sha256 = "1vriibcsq4j1hvm5yigbbmmv21dc40y5c9gvd31dg9qkaz26hml6";
};
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";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
};
}