git.iko.soy/typeable/nixpkgs
on master help sign in
http-prompt: init at 0.2.0

Closes #15563

commitf48c8ddf0b297764ee2052755fe411c9f376c1b7 authorMatthias Beyer <mail@beyermatthias.de> dateThu 19 May 2016, 23:35 (11 years ago) parent6e0f7b5
2 files changed+32
pkgs/tools/networking/http-prompt/default.nix+30 pkgs/top-level/all-packages.nix+2
pkgs/tools/networking/http-prompt/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv, fetchFromGitHub, pythonPackages, httpie }:
2+
3+pythonPackages.buildPythonApplication rec {
4+ version = "0.2.0";
5+ name = "http-prompt";
6+
7+ src = fetchFromGitHub {
8+ rev = "v${version}";
9+ repo = "http-prompt";
10+ owner = "eliangcs";
11+ sha256 = "0hgw3kx9rfdg394darms3vqcjm6xw6qrm8gnz54nahmyxnhrxnpp";
12+ };
13+
14+ propagatedBuildInputs = with pythonPackages; [
15+ click
16+ httpie
17+ parsimonious
18+ prompt_toolkit
19+ pygments
20+ six
21+ ];
22+
23+ meta = with stdenv.lib; {
24+ description = "An interactive command-line HTTP client featuring autocomplete and syntax highlighting";
25+ homepage = "https://github.com/eliangcs/http-prompt";
26+ license = licenses.mit;
27+ maintainers = with maintainers; [ matthiasbeyer ];
28+ platforms = platforms.linux; # can only test on linux
29+ };
30+}
pkgs/top-level/all-packages.nix+2
@@ -1967,6 +1967,8 @@ in
19671967
19681968 hping = callPackage ../tools/networking/hping { };
19691969
1970+ http-prompt = callPackage ../tools/networking/http-prompt { };
1971+
19701972 httpie = callPackage ../tools/networking/httpie { };
19711973
19721974 httping = callPackage ../tools/networking/httping {};