httpstat: init at 1.2.0

This commit is contained in:
Tim Steinbach 2016-10-08 13:19:07 +00:00
parent afbe339e7d
commit 26f75f7d31
No known key found for this signature in database
GPG Key ID: 83FF2ACAEB6C2D24
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, curl, python, pythonPackages, ... }:
pythonPackages.buildPythonPackage rec {
name = "${pname}-${version}";
pname = "httpstat";
version = "1.2.0";
src = fetchFromGitHub {
owner = "reorx";
repo = pname;
rev = "${version}";
sha256 = "1zfbv3fz3g3wwvsgrcyrk2cp7pjhkpf7lmx57ry9b43c62gcd7yh";
};
doCheck = false;
propagatedBuildInputs = [ ];
runtimeDeps = [ curl ];
installPhase = ''
mkdir -p $out/${python.sitePackages}/
cp httpstat.py $out/${python.sitePackages}/
mkdir -p $out/bin
ln -s $out/${python.sitePackages}/httpstat.py $out/bin/httpstat
chmod +x $out/bin/httpstat
'';
meta = {
description = "curl statistics made simple";
homepage = https://github.com/reorx/httpstat;
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ nequissimus ];
};
}

View File

@ -2095,6 +2095,8 @@ in
httpfs2 = callPackage ../tools/filesystems/httpfs { };
httpstat = callPackage ../tools/networking/httpstat { };
httptunnel = callPackage ../tools/networking/httptunnel { };
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };