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