2016-10-17 16:18:38 +02:00
|
|
|
{ stdenv, fetchFromGitHub, curl, pythonPackages, glibcLocales }:
|
2016-10-08 15:19:07 +02:00
|
|
|
|
2016-10-17 16:18:38 +02:00
|
|
|
pythonPackages.buildPythonApplication rec {
|
2016-10-08 15:19:07 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "httpstat";
|
2016-10-24 16:13:40 +02:00
|
|
|
version = "1.2.1";
|
2016-10-08 15:19:07 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "reorx";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${version}";
|
2016-10-24 16:13:40 +02:00
|
|
|
sha256 = "1vriibcsq4j1hvm5yigbbmmv21dc40y5c9gvd31dg9qkaz26hml6";
|
2016-10-08 15:19:07 +02:00
|
|
|
};
|
2016-10-17 16:18:38 +02:00
|
|
|
doCheck = false; # No tests
|
|
|
|
buildInputs = [ glibcLocales ];
|
2016-10-08 15:19:07 +02:00
|
|
|
runtimeDeps = [ curl ];
|
|
|
|
|
2016-10-17 16:18:38 +02:00
|
|
|
LC_ALL = "en_US.UTF-8";
|
2016-10-08 15:19:07 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "curl statistics made simple";
|
|
|
|
homepage = https://github.com/reorx/httpstat;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
|
|
|
|
};
|
|
|
|
}
|