2016-05-19 22:35:45 +01:00
|
|
|
{ stdenv, fetchFromGitHub, pythonPackages, httpie }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
2017-10-31 15:09:14 +00:00
|
|
|
version = "0.11.0";
|
2016-05-19 22:35:45 +01:00
|
|
|
name = "http-prompt";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "http-prompt";
|
|
|
|
owner = "eliangcs";
|
2017-10-31 15:09:14 +00:00
|
|
|
sha256 = "0arl85880nnyfx8cvpzm6cr8nalhyrkz5zqfr628p487rwqv45ip";
|
2016-05-19 22:35:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/eliangcs/http-prompt;
|
2016-05-19 22:35:45 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ matthiasbeyer ];
|
|
|
|
platforms = platforms.linux; # can only test on linux
|
|
|
|
};
|
|
|
|
}
|