25 lines
633 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
2016-10-08 13:19:07 +00:00
2016-10-17 16:18:38 +02:00
pythonPackages.buildPythonApplication rec {
2020-10-08 10:22:38 -04:00
pname = "httpstat";
2020-12-25 11:00:21 -05:00
version = "1.3.1";
2020-10-08 10:22:38 -04:00
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = version;
2020-12-25 11:00:21 -05:00
sha256 = "sha256-zUdis41sQpJ1E3LdNwaCVj6gexi/Rk21IBUgoFISiDM=";
2020-10-08 10:22:38 -04:00
};
doCheck = false; # No tests
buildInputs = [ glibcLocales ];
runtimeDeps = [ curl ];
2016-10-08 13:19:07 +00:00
2020-10-08 10:22:38 -04:00
LC_ALL = "en_US.UTF-8";
2016-10-08 13:19:07 +00:00
2020-10-08 10:22:38 -04:00
meta = {
description = "curl statistics made simple";
homepage = "https://github.com/reorx/httpstat";
2021-01-15 16:19:50 +07:00
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ nequissimus ];
2020-10-08 10:22:38 -04:00
};
}