httpstat: init at 1.2.0
This commit is contained in:
parent
afbe339e7d
commit
26f75f7d31
31
pkgs/tools/networking/httpstat/default.nix
Normal file
31
pkgs/tools/networking/httpstat/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -2095,6 +2095,8 @@ in
|
|||||||
|
|
||||||
httpfs2 = callPackage ../tools/filesystems/httpfs { };
|
httpfs2 = callPackage ../tools/filesystems/httpfs { };
|
||||||
|
|
||||||
|
httpstat = callPackage ../tools/networking/httpstat { };
|
||||||
|
|
||||||
httptunnel = callPackage ../tools/networking/httptunnel { };
|
httptunnel = callPackage ../tools/networking/httptunnel { };
|
||||||
|
|
||||||
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };
|
hubicfuse = callPackage ../tools/filesystems/hubicfuse { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user