http-prompt: init at 0.2.0

Closes #15563
This commit is contained in:
Matthias Beyer 2016-05-19 23:35:45 +02:00 committed by Joachim Fasting
parent 6e0f7b5963
commit f48c8ddf0b
No known key found for this signature in database
GPG key ID: 4330820E1E04DCF4
2 changed files with 32 additions and 0 deletions

View file

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

View file

@ -1967,6 +1967,8 @@ in
hping = callPackage ../tools/networking/hping { };
http-prompt = callPackage ../tools/networking/http-prompt { };
httpie = callPackage ../tools/networking/httpie { };
httping = callPackage ../tools/networking/httping {};