summaryrefslogtreecommitdiff
path: root/home/ebisu/meta/network/tools/http/yaak
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-28 20:36:04 -0700
committerFuwn <[email protected]>2024-08-28 20:36:04 -0700
commitf3c31e4ad7fab36e151f3a2e207fafb1eda1a787 (patch)
treee265a1a5270b4522049110b8bc5aa13fda142c2f /home/ebisu/meta/network/tools/http/yaak
parentmany (diff)
downloadnixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.tar.xz
nixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.zip
hi
Diffstat (limited to 'home/ebisu/meta/network/tools/http/yaak')
-rw-r--r--home/ebisu/meta/network/tools/http/yaak/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/home/ebisu/meta/network/tools/http/yaak/default.nix b/home/ebisu/meta/network/tools/http/yaak/default.nix
new file mode 100644
index 0000000..05bf0e7
--- /dev/null
+++ b/home/ebisu/meta/network/tools/http/yaak/default.nix
@@ -0,0 +1,28 @@
+{ pkgs, lib, ... }:
+let
+ yaak-archive = pkgs.fetchzip {
+ url = "https://releases.yaak.app/releases/2024.6.6/yaak_2024.6.6_amd64.AppImage.tar.gz";
+ hash = "sha256-Qnc4RlQmQWHARreQ69jAshq57bZ56Yt5a35jpTjGwNU=";
+ };
+
+ version = "2024.6.6";
+
+ # https://discourse.nixos.org/t/creating-a-nix-derivation-for-an-appimage/31927
+ yaak = pkgs.appimageTools.wrapType2 {
+ pname = "yaak";
+ version = version;
+ src = "${yaak-archive}/yaak_${version}_amd64.AppImage";
+
+ meta = with lib; {
+ description = "Play with APIs, intuitively";
+ sourceProvenance = with sourceTypes; [ binaryNativeCode ];
+ homepage = "https://yaak.app/";
+ license = licenses.unfree;
+ platforms = platforms.linux;
+ mainProgram = "yaak";
+ };
+ };
+in
+{
+ home.packages = [ yaak ];
+}