http-prompt: drop (#465393)

This commit is contained in:
Aleksana
2025-11-27 01:22:29 +00:00
committed by GitHub
2 changed files with 1 additions and 83 deletions
-83
View File
@@ -1,83 +0,0 @@
{
lib,
fetchFromGitHub,
python3,
httpie,
versionCheckHook,
}:
let
python = python3.override {
self = python;
packageOverrides = _: super: {
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (old: rec {
version = "1.0.18";
src = old.src.override {
inherit version;
hash = "sha256-3U/KAsgGlJetkxotCZFMaw0bUBUc6Ha8Fb3kx0cJASY=";
};
});
};
};
in
python.pkgs.buildPythonApplication rec {
pname = "http-prompt";
version = "2.1.0";
pyproject = true;
src = fetchFromGitHub {
tag = "v${version}";
repo = "http-prompt";
owner = "httpie";
hash = "sha256-e4GyuxCeXYNsnBXyjIJz1HqSrqTGan0N3wxUFS+Hvkw=";
};
build-system = [ python.pkgs.setuptools ];
dependencies = with python.pkgs; [
click
httpie
parsimonious
prompt-toolkit
pygments
six
pyyaml
];
pythonImportsCheck = [ "http_prompt" ];
nativeCheckInputs = [
python.pkgs.mock
python.pkgs.pexpect
python.pkgs.pytest-cov-stub
python.pkgs.pytestCheckHook
versionCheckHook
];
disabledTests = [
# require network access
"test_get_and_tee"
"test_get_image"
"test_get_querystring"
"test_post_form"
"test_post_json"
"test_spec_from_http"
"test_spec_from_http_only"
# executable path is hardcoded
"test_help"
"test_interaction"
"test_version"
"test_vi_mode"
];
versionCheckProgramArg = "--version";
meta = {
description = "Interactive command-line HTTP client featuring autocomplete and syntax highlighting";
mainProgram = "http-prompt";
homepage = "https://github.com/eliangcs/http-prompt";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ matthiasbeyer ];
platforms = lib.platforms.linux ++ lib.platforms.darwin;
};
}
+1
View File
@@ -718,6 +718,7 @@ mapAliases {
hostPlatform = warnAlias "'hostPlatform' has been renamed to/replaced by 'stdenv.hostPlatform'" stdenv.hostPlatform; # Converted to warning 2025-10-28
hpmyroom = throw "hpmyroom has been removed because it has been marked as broken since May 2024."; # Added 2025-10-11
hpp-fcl = throw "'hpp-fcl' has been renamed to/replaced by 'coal'"; # Converted to throw 2025-10-27
http-prompt = throw "'http-prompt' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-26
hydra_unstable = throw "'hydra_unstable' has been renamed to/replaced by 'hydra'"; # Converted to throw 2025-10-27
i3-gaps = throw "'i3-gaps' has been renamed to/replaced by 'i3'"; # Converted to throw 2025-10-27
ibm-sw-tpm2 = throw "ibm-sw-tpm2 has been removed, as it was broken"; # Added 2025-08-25