@@ -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+}