1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/tools/networking/httpstat/default.nix
2021-01-25 18:31:47 +01:00

25 lines
633 B
Nix

{ lib, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
pythonPackages.buildPythonApplication rec {
pname = "httpstat";
version = "1.3.1";
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = version;
sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
};
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 = lib.licenses.mit;
maintainers = with lib.maintainers; [ nequissimus ];
};
}