diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2016-05-19 23:35:45 +0200 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-05-28 14:04:20 +0200 |
commit | f48c8ddf0b297764ee2052755fe411c9f376c1b7 (patch) | |
tree | a5cde35cfe50132d07f6f509a8d9004f88e4784d /pkgs/tools/networking/http-prompt | |
parent | 6e0f7b5963f4dd63b4d15cdd4f55d9f378315838 (diff) |
http-prompt: init at 0.2.0
Closes #15563
Diffstat (limited to 'pkgs/tools/networking/http-prompt')
-rw-r--r-- | pkgs/tools/networking/http-prompt/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/tools/networking/http-prompt/default.nix b/pkgs/tools/networking/http-prompt/default.nix new file mode 100644 index 00000000000..ba9b8b2d771 --- /dev/null +++ b/pkgs/tools/networking/http-prompt/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub, pythonPackages, httpie }: + +pythonPackages.buildPythonApplication rec { + version = "0.2.0"; + name = "http-prompt"; + + src = fetchFromGitHub { + rev = "v${version}"; + repo = "http-prompt"; + owner = "eliangcs"; + sha256 = "0hgw3kx9rfdg394darms3vqcjm6xw6qrm8gnz54nahmyxnhrxnpp"; + }; + + propagatedBuildInputs = with pythonPackages; [ + click + httpie + parsimonious + prompt_toolkit + pygments + six + ]; + + meta = with stdenv.lib; { + description = "An interactive command-line HTTP client featuring autocomplete and syntax highlighting"; + homepage = "https://github.com/eliangcs/http-prompt"; + license = licenses.mit; + maintainers = with maintainers; [ matthiasbeyer ]; + platforms = platforms.linux; # can only test on linux + }; +} |