Merge pull request #22495 from pradeepchhetri/wuzz-20170205
wuzz: init at 2017-02-05
This commit is contained in:
commit
6eb6130e15
3 changed files with 55 additions and 0 deletions
24
pkgs/tools/networking/wuzz/default.nix
Normal file
24
pkgs/tools/networking/wuzz/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "wuzz-${version}";
|
||||
version = "2017-02-05";
|
||||
|
||||
goPackagePath = "https://github.com/asciimoo/wuzz";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "asciimoo";
|
||||
repo = "wuzz";
|
||||
rev = "45b6a64e667b3647216af68e06e253958b81b3c4";
|
||||
sha256 = "0jjdyqh1jvfg1dg5fwwavcvkn8fkm1a44gyv35c1g5cd9gxwj8nw";
|
||||
};
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/asciimoo/wuzz;
|
||||
description = "Interactive cli tool for HTTP inspection";
|
||||
license = licenses.agpl3;
|
||||
maintainers = with maintainers; [ pradeepchhetri ];
|
||||
};
|
||||
}
|
29
pkgs/tools/networking/wuzz/deps.nix
Normal file
29
pkgs/tools/networking/wuzz/deps.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
[
|
||||
{
|
||||
goPackagePath = "github.com/jroimartin/gocui";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/jroimartin/gocui";
|
||||
rev = "7ac95c981b8a07b624ab197b3ad5813fdfbe4864";
|
||||
sha256 = "1xr752gpjv32mnzzy5v367maczl7sn8frn258wqrs6gqf07sdmjp";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/nsf/termbox-go";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nsf/termbox-go";
|
||||
rev = "abe82ce5fb7a42fbd6784a5ceb71aff977e09ed8";
|
||||
sha256 = "156i8apkga8b3272kjhapyqwspgcfkrr9kpqwc5lii43k4swghpv";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mattn/go-runewidth";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mattn/go-runewidth";
|
||||
rev = "14207d285c6c197daabb5c9793d63e7af9ab2d50";
|
||||
sha256 = "0y6yq9zd4kh7fimnc00r3h9pr2pwa5j85b3jcn5dyfamsnm2xdsv";
|
||||
};
|
||||
}
|
||||
]
|
|
@ -4452,6 +4452,8 @@ with pkgs;
|
|||
|
||||
wrk = callPackage ../tools/networking/wrk { };
|
||||
|
||||
wuzz = callPackage ../tools/networking/wuzz { };
|
||||
|
||||
wv = callPackage ../tools/misc/wv { };
|
||||
|
||||
wv2 = callPackage ../tools/misc/wv2 { };
|
||||
|
|
Loading…
Reference in a new issue