From 21e7625d6854a95d1ecb4e463a7f1e52513ad7b4 Mon Sep 17 00:00:00 2001 From: Zoey de Souza Pessanha Date: Mon, 7 Feb 2022 12:56:03 -0300 Subject: [PATCH] bloomrpc: init at 1.5.3 (#120292) Co-authored-by: Matheus de Souza Pessanha --- maintainers/maintainer-list.nix | 20 +++++------ pkgs/development/tools/earthly/default.nix | 2 +- pkgs/development/web/bloomrpc/default.nix | 42 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 4 files changed, 55 insertions(+), 11 deletions(-) create mode 100644 pkgs/development/web/bloomrpc/default.nix diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 40209049f7a3..4eeffa46472f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -7529,16 +7529,6 @@ githubId = 29855073; name = "Michael Colicchia"; }; - matdsoupe = { - github = "matdsoupe"; - githubId = 44469426; - name = "Matheus de Souza Pessanha"; - email = "matheus_pessanha2001@outlook.com"; - keys = [{ - longkeyid = "rsa4096/0x2671964AB1E06A08"; - fingerprint = "2F32 CFEF E11A D73B A740 FA47 2671 964A B1E0 6A08"; - }]; - }; matejc = { email = "cotman.matej@gmail.com"; github = "matejc"; @@ -13773,6 +13763,16 @@ github = "zeri42"; githubId = 68825133; }; + zoedsoupe = { + github = "zoedsoupe"; + githubId = 44469426; + name = "Zoey de Souza Pessanha"; + email = "zoey.spessanha@outlook.com"; + keys = [{ + longkeyid = "rsa4096/0x1E1E889CDBD6A315"; + fingerprint = "EAA1 51DB 472B 0122 109A CB17 1E1E 889C DBD6 A315"; + }]; + }; zombiezen = { name = "Ross Light"; email = "ross@zombiezen.com"; diff --git a/pkgs/development/tools/earthly/default.nix b/pkgs/development/tools/earthly/default.nix index a18b3b67fdc1..2d3a7b61929a 100644 --- a/pkgs/development/tools/earthly/default.nix +++ b/pkgs/development/tools/earthly/default.nix @@ -37,6 +37,6 @@ buildGoModule rec { homepage = "https://earthly.dev/"; changelog = "https://github.com/earthly/earthly/releases/tag/v${version}"; license = licenses.bsl11; - maintainers = with maintainers; [ matdsoupe ]; + maintainers = with maintainers; [ zoedsoupe ]; }; } diff --git a/pkgs/development/web/bloomrpc/default.nix b/pkgs/development/web/bloomrpc/default.nix new file mode 100644 index 000000000000..94a5c3de37ad --- /dev/null +++ b/pkgs/development/web/bloomrpc/default.nix @@ -0,0 +1,42 @@ +{ lib, fetchurl, appimageTools }: + +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"; + sha512 = "PebdYDpcplPN5y3mRu1mG6CXenYfYvBXNLgIGEr7ZgKnR5pIaOfJNORSNYSdagdGDb/B1sxuKfX4+4f2cqgb6Q=="; + }; + + appimageContents = appimageTools.extractType2 { + inherit pname src version; + }; +in appimageTools.wrapType2 { + inherit pname src version; + + multiPkgs = null; # no 32bit needed + 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" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c806af25e885..3e9f41a0506b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14489,6 +14489,8 @@ with pkgs; bloaty = callPackage ../development/tools/bloaty { }; + bloomrpc = callPackage ../development/web/bloomrpc { }; + bloop = callPackage ../development/tools/build-managers/bloop { }; bossa = callPackage ../development/embedded/bossa {