summaryrefslogtreecommitdiff
path: root/home/ebisu/meta/network/tools/http
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-28 22:35:07 -0700
committerFuwn <[email protected]>2024-08-28 22:35:07 -0700
commit0687f98f5e8f293c19ee4de018a4389d355c55b8 (patch)
tree85daad9a5373b6656c7f21c40b7d3277b8f3a0ec /home/ebisu/meta/network/tools/http
parenthi (diff)
downloadnixos-config-0687f98f5e8f293c19ee4de018a4389d355c55b8.tar.xz
nixos-config-0687f98f5e8f293c19ee4de018a4389d355c55b8.zip
hi
Diffstat (limited to 'home/ebisu/meta/network/tools/http')
-rw-r--r--home/ebisu/meta/network/tools/http/default.nix5
-rw-r--r--home/ebisu/meta/network/tools/http/httpie.nix (renamed from home/ebisu/meta/network/tools/http/httpie/default.nix)0
-rw-r--r--home/ebisu/meta/network/tools/http/yaak/default.nix28
3 files changed, 3 insertions, 30 deletions
diff --git a/home/ebisu/meta/network/tools/http/default.nix b/home/ebisu/meta/network/tools/http/default.nix
index 59d6efc..b47540f 100644
--- a/home/ebisu/meta/network/tools/http/default.nix
+++ b/home/ebisu/meta/network/tools/http/default.nix
@@ -1,8 +1,9 @@
{ pkgs, ... }:
{
imports = [
- ./httpie
- ./yaak
+ ./httpie.nix
./wget.nix
];
+
+ home.packages = [ (pkgs.callPackage ../../../../../../pkgs/yaak.nix { }) ];
}
diff --git a/home/ebisu/meta/network/tools/http/httpie/default.nix b/home/ebisu/meta/network/tools/http/httpie.nix
index b917245..b917245 100644
--- a/home/ebisu/meta/network/tools/http/httpie/default.nix
+++ b/home/ebisu/meta/network/tools/http/httpie.nix
diff --git a/home/ebisu/meta/network/tools/http/yaak/default.nix b/home/ebisu/meta/network/tools/http/yaak/default.nix
deleted file mode 100644
index 05bf0e7..0000000
--- a/home/ebisu/meta/network/tools/http/yaak/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ 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 ];
-}