diff options
author | Pradeep Chhetri <pradeep.chhetri89@gmail.com> | 2017-02-06 19:28:40 +0530 |
---|---|---|
committer | Pradeep Chhetri <pradeep.chhetri89@gmail.com> | 2017-02-06 19:28:40 +0530 |
commit | f22a7f0558434421448ea8e4a389a1a86c97538f (patch) | |
tree | f7f6772d861946bbb1b3c24c6b9aa0280f69a1c1 | |
parent | 90bc1a8595792d87927a65db172f55aa22176944 (diff) |
wuzz: init at 2017-02-05
-rw-r--r-- | pkgs/tools/networking/wuzz/default.nix | 24 | ||||
-rw-r--r-- | pkgs/tools/networking/wuzz/deps.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/tools/networking/wuzz/default.nix b/pkgs/tools/networking/wuzz/default.nix new file mode 100644 index 0000000000000..7a6e72e0f124e --- /dev/null +++ b/pkgs/tools/networking/wuzz/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/tools/networking/wuzz/deps.nix b/pkgs/tools/networking/wuzz/deps.nix new file mode 100644 index 0000000000000..1025793cc981f --- /dev/null +++ b/pkgs/tools/networking/wuzz/deps.nix @@ -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"; + }; + } +] diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a28aa5ea909c..960a7e2b44951 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4448,6 +4448,8 @@ with pkgs; wrk = callPackage ../tools/networking/wrk { }; + wuzz = callPackage ../tools/networking/wuzz { }; + wv = callPackage ../tools/misc/wv { }; wv2 = callPackage ../tools/misc/wv2 { }; |