1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 12:42:24 +00:00

Merge pull request #19357 from NeQuissimus/httpstat

httpstat: init at 1.2.0
This commit is contained in:
Jörg Thalheim 2016-10-09 11:28:31 +02:00 committed by GitHub
commit 5275d07fea
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 { };