8 appimageTools.wrapType2 rec {
9 pname = "httpie-desktop";
13 if stdenv.hostPlatform.system == "aarch64-linux" then
15 url = "https://github.com/httpie/desktop/releases/download/v${version}/HTTPie-${version}-arm64.AppImage";
16 hash = "sha256-RhIyLakCkMUcXvu0sgl5MtV4YXXkqqH1UUS7bptUzww=";
20 url = "https://github.com/httpie/desktop/releases/download/v${version}/HTTPie-${version}.AppImage";
21 hash = "sha256-OOP1l7J2BgO3nOPSipxfwfN/lOUsl80UzYMBosyBHrM=";
24 extraInstallCommands =
26 contents = appimageTools.extractType2 { inherit pname version src; };
30 cp -r ${contents}/usr/share/* $out/share
32 install -Dm644 ${contents}/httpie.desktop $out/share/applications/httpie.desktop
33 substituteInPlace $out/share/applications/httpie.desktop \
34 --replace-fail 'Exec=AppRun' 'Exec=httpie-desktop'
38 description = "Cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs";
39 homepage = "https://github.com/httpie/desktop";
40 license = licenses.unfree;
41 maintainers = with maintainers; [ luftmensch-luftmensch ];
42 mainProgram = "httpie-desktop";