2022-05-15 02:08:10 +00:00
|
|
|
{ lib, fetchurl, appimageTools }:
|
2022-02-07 15:56:03 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pname = "bloomrpc";
|
|
|
|
version = "1.5.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/uw-labs/${pname}/releases/download/${version}/BloomRPC-${version}.AppImage";
|
|
|
|
name = "${pname}-${version}.AppImage";
|
2023-09-16 17:33:20 +00:00
|
|
|
hash = "sha512-PebdYDpcplPN5y3mRu1mG6CXenYfYvBXNLgIGEr7ZgKnR5pIaOfJNORSNYSdagdGDb/B1sxuKfX4+4f2cqgb6Q==";
|
2022-02-07 15:56:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
appimageContents = appimageTools.extractType2 {
|
|
|
|
inherit pname src version;
|
|
|
|
};
|
2022-02-15 10:58:40 +00:00
|
|
|
in
|
|
|
|
appimageTools.wrapType2 {
|
2022-02-07 15:56:03 +00:00
|
|
|
inherit pname src version;
|
|
|
|
|
2022-02-15 10:58:40 +00:00
|
|
|
profile = ''
|
|
|
|
export LC_ALL=C.UTF-8
|
|
|
|
'';
|
|
|
|
|
2023-07-01 11:35:55 +00:00
|
|
|
multiArch = false; # no 32bit needed
|
2022-02-07 15:56:03 +00:00
|
|
|
extraPkgs = pkgs: appimageTools.defaultFhsEnvArgs.multiPkgs pkgs ++ [ pkgs.bash ];
|
|
|
|
|
|
|
|
extraInstallCommands = ''
|
|
|
|
ln -s $out/bin/${pname}-${version} $out/bin/${pname}
|
|
|
|
install -m 444 -D ${appimageContents}/${pname}.desktop $out/share/applications/${pname}.desktop
|
|
|
|
install -m 444 -D ${appimageContents}/${pname}.png \
|
|
|
|
$out/share/icons/hicolor/512x512/apps/${pname}.png
|
|
|
|
substituteInPlace $out/share/applications/${pname}.desktop \
|
|
|
|
--replace 'Exec=AppRun' 'Exec=${pname}'
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "GUI Client for GRPC Services";
|
|
|
|
longDescription = ''
|
|
|
|
Inspired by Postman and GraphQL Playground BloomRPC aims to provide the simplest
|
|
|
|
and most efficient developer experience for exploring and querying your GRPC services.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/uw-labs/bloomrpc";
|
|
|
|
license = licenses.lgpl3Plus;
|
|
|
|
maintainers = with maintainers; [ zoedsoupe ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|