depot/third_party/nixpkgs/pkgs/tools/networking/httpstat/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

24 lines
689 B
Nix

{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
pythonPackages.buildPythonApplication rec {
pname = "httpstat";
version = "1.2.1";
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = version;
sha256 = "1vriibcsq4j1hvm5yigbbmmv21dc40y5c9gvd31dg9qkaz26hml6";
};
doCheck = false; # No tests
buildInputs = [ glibcLocales ];
runtimeDeps = [ curl ];
LC_ALL = "en_US.UTF-8";
meta = {
description = "curl statistics made simple";
homepage = "https://github.com/reorx/httpstat";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
};
}