diff options
| author | Fuwn <[email protected]> | 2024-08-28 22:35:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-08-28 22:35:07 -0700 |
| commit | 0687f98f5e8f293c19ee4de018a4389d355c55b8 (patch) | |
| tree | 85daad9a5373b6656c7f21c40b7d3277b8f3a0ec /pkgs/bollux/default.nix | |
| parent | hi (diff) | |
| download | nixos-config-0687f98f5e8f293c19ee4de018a4389d355c55b8.tar.xz nixos-config-0687f98f5e8f293c19ee4de018a4389d355c55b8.zip | |
hi
Diffstat (limited to 'pkgs/bollux/default.nix')
| -rw-r--r-- | pkgs/bollux/default.nix | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/bollux/default.nix b/pkgs/bollux/default.nix new file mode 100644 index 0000000..0922592 --- /dev/null +++ b/pkgs/bollux/default.nix @@ -0,0 +1,42 @@ +{ pkgs, lib, ... }: +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="; + }; + + patches = [ + # https://tildegit.org/acdw/bollux/issues/13#issuecomment-9786 + ./fix_lesskey_nag.patch + ]; + + postInstall = '' + wrapProgram $out/bin/bollux --prefix PATH : ${ + lib.makeBinPath [ + pkgs.bashInteractive + pkgs.iconv + pkgs.openssl + pkgs.less + pkgs.coreutils + ] + } + ''; + + 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"; + }; +} |