7 appimageTools.wrapType2 rec {
8 pname = "httpie-desktop";
12 url = "https://github.com/httpie/desktop/releases/download/v${version}/HTTPie-${version}.AppImage";
13 hash = "sha256-OOP1l7J2BgO3nOPSipxfwfN/lOUsl80UzYMBosyBHrM=";
16 extraInstallCommands =
18 contents = appimageTools.extractType2 { inherit pname version src; };
22 cp -r ${contents}/usr/share/* $out/share
24 install -Dm644 ${contents}/httpie.desktop $out/share/applications/httpie.desktop
25 substituteInPlace $out/share/applications/httpie.desktop \
26 --replace-fail 'Exec=AppRun' 'Exec=httpie-desktop'
30 description = "Cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs";
31 homepage = "https://github.com/httpie/desktop";
32 license = licenses.unfree;
33 maintainers = with maintainers; [ luftmensch-luftmensch ];
34 mainProgram = "httpie-desktop";
35 platforms = [ "x86_64-linux" ];