summaryrefslogtreecommitdiff
path: root/cli/meta/smolnet
diff options
context:
space:
mode:
Diffstat (limited to 'cli/meta/smolnet')
-rw-r--r--cli/meta/smolnet/bollux/default.nix67
-rw-r--r--cli/meta/smolnet/bollux/fix_lesskey_nag.patch13
-rw-r--r--cli/meta/smolnet/default.nix11
3 files changed, 0 insertions, 91 deletions
diff --git a/cli/meta/smolnet/bollux/default.nix b/cli/meta/smolnet/bollux/default.nix
deleted file mode 100644
index 2079052..0000000
--- a/cli/meta/smolnet/bollux/default.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-{ pkgs, lib, ... }:
-let
- bollux =
- pkgs.stdenvNoCC.mkDerivation rec {
- pname = "bollux";
- version = "0.4.1";
-
- nativeBuildInputs = [
- pkgs.makeWrapper
- ];
-
- buildInputs = [
- pkgs.bashInteractive
- ];
-
- dontBuild = true;
-
- makeFlags = [
- "PREFIX=$(out)"
- ];
-
- src = pkgs.fetchFromGitea {
- domain = "tildegit.org";
- owner = "acdw";
- repo = "bollux";
- rev = "f472e60f1164f0dc025d06db2a13ff4e8ebee1a2";
- hash = "sha256-mo2qWCPfW+dUaYcJLsos/vR5nJ8n1eABy8Zy8OZsfVg=";
- };
-
- runtimeDependencies = [
- pkgs.bashInteractive
- pkgs.iconv
- pkgs.openssl
- pkgs.less
- pkgs.coreutils
- ];
-
- patches = [
- # https://tildegit.org/acdw/bollux/issues/13#issuecomment-9786
- ./fix_lesskey_nag.patch
- ];
-
- postInstall = ''
- wrapProgram $out/bin/bollux --prefix PATH : ${lib.makeBinPath runtimeDependencies}
- '';
-
- meta = with lib; {
- description = "a Gemini browser in like, idk, 96% pure Bash";
- homepage = "https://tildegit.org/acdw/bollux";
- license = licenses.mit;
- platforms = platforms.all;
- mainProgram = "bollux";
- };
- };
-in
-{
- home.packages = [
- # I'll update this later and move the above derivation to its own package
- # once I push my entire NixOS system configuration.
- # (pkgs.callPackage /path/to/pkgs/bollux.nix {
- # src = bollux;
- # })
- bollux
- ];
-
- xdg.configFile."bollux/bollux.conf".text = '''';
-}
diff --git a/cli/meta/smolnet/bollux/fix_lesskey_nag.patch b/cli/meta/smolnet/bollux/fix_lesskey_nag.patch
deleted file mode 100644
index 329b886..0000000
--- a/cli/meta/smolnet/bollux/fix_lesskey_nag.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git i/bollux w/bollux
-index 267418e..090217e 100755
---- i/bollux
-+++ w/bollux
-@@ -1130,7 +1130,7 @@ display() { # display METADATA [TITLE]
- # text, and pre-formatted text shouldn't wrap.
- less_cmd+=(-S)
- # Load the keybindings (see `lesskey').
-- mklesskey && less_cmd+=(-k "$BOLLUX_LESSKEY")
-+ mklesskey && less_cmd+=(--lesskey-src="$BOLLUX_LESSKEY")
- local helpline="${KEY_OPEN}:open, "
- helpline+="${KEY_GOTO}/"
- helpline+="${KEY_GOTO_FROM}:goto, "
diff --git a/cli/meta/smolnet/default.nix b/cli/meta/smolnet/default.nix
deleted file mode 100644
index 8cb44a6..0000000
--- a/cli/meta/smolnet/default.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ pkgs, ... }: {
- imports = [
- ./bollux
- ];
-
- home.packages = with pkgs; [
- amfora
- gmni
- phetch
- ];
-}