summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/ahoviewer.nix54
-rw-r--r--pkgs/bindtointerface.nix51
-rw-r--r--pkgs/bollux/default.nix42
-rw-r--r--pkgs/bollux/fix_lesskey_nag.patch13
-rw-r--r--pkgs/cargo-clean-all.nix22
-rw-r--r--pkgs/chan-downloader.nix27
-rw-r--r--pkgs/git-sumi.nix23
-rw-r--r--pkgs/private-internet-access.nix72
-rw-r--r--pkgs/swaddle.nix27
-rw-r--r--pkgs/t.nix22
-rw-r--r--pkgs/thorium.nix25
-rw-r--r--pkgs/yaak.nix28
-rw-r--r--pkgs/zen-browser-bin.nix128
13 files changed, 0 insertions, 534 deletions
diff --git a/pkgs/ahoviewer.nix b/pkgs/ahoviewer.nix
deleted file mode 100644
index cd87578..0000000
--- a/pkgs/ahoviewer.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{
- pkgs ? import <nixpkgs> { },
-}:
-pkgs.stdenv.mkDerivation rec {
- pname = "ahoviewer";
- version = "42e16f9";
-
- src = pkgs.fetchFromGitHub {
- owner = "ahodesuka";
- repo = pname;
- rev = "42e16f94b78496e3e346f0d127baa569039a6757";
- sha256 = "sha256-HcijKiExwyBoWDvMlJ5AMA0U7BtS9EfcA54nfQ/iGvE=";
- };
-
- buildInputs = with pkgs; [
- meson
- ninja
- gtkmm3
- gtk3
- libconfig
- libxml2
- curl
- gst_all_1.gstreamer
- gst_all_1.gst-plugins-base
- libpeas
- libsecret
- libzip
- ];
-
- nativeBuildInputs = [ pkgs.pkg-config ];
-
- configurePhase = ''
- meson setup build --buildtype=release
- '';
-
- buildPhase = ''
- cd build
- ninja
- cd ..
- '';
-
- installPhase = ''
- mkdir -p $out/bin
- cp build/src/ahoviewer $out/bin
- '';
-
- meta = with pkgs.lib; {
- description = "A GTK image viewer, manga reader, and booru browser";
- homepage = "https://github.com/ahodesuka/ahoviewer";
- license = licenses.mit;
- maintainers = [ maintainers.Fuwn ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/bindtointerface.nix b/pkgs/bindtointerface.nix
deleted file mode 100644
index 3372d5d..0000000
--- a/pkgs/bindtointerface.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- pkgs,
- lib,
- stdenv,
- gcc,
-}:
-stdenv.mkDerivation {
- pname = "bindtointerface";
- version = "1.0";
-
- src = pkgs.fetchFromGitHub {
- owner = "JsBergbau";
- repo = "BindToInterface";
- rev = "d477326d85f64fdd1dc46382fe698e46f4843100";
- hash = "sha256-B29nXjy8RyFEOsYtko8l9i38sDauX2eW+pLsQssNTmQ=";
- };
-
- nativeBuildInputs = [ gcc ];
-
- buildPhase = ''
- gcc \
- -nostartfiles \
- -fpic \
- -shared $src/bindToInterface.c \
- -o bindToInterface.so \
- -ldl \
- -D_GNU_SOURCE
- '';
-
- installPhase = ''
- mkdir -p $out/bin $out/lib
-
- cp bindToInterface.so $out/lib
-
- cat <<EOF > $out/bin/vpn
- #!/usr/bin/env bash
-
- env LD_PRELOAD=$out/lib/bindToInterface.so "\$@"
- EOF
-
- chmod +x $out/bin/vpn
- '';
-
- meta = with lib; {
- description = "With this program you can bind applications to a specific network interface / network adapter.";
- homepage = "https://github.com/JsBergbau/BindToInterface";
- license = licenses.gpl2;
- maintainers = [ maintainers.Fuwn ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/bollux/default.nix b/pkgs/bollux/default.nix
deleted file mode 100644
index 0922592..0000000
--- a/pkgs/bollux/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ 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";
- };
-}
diff --git a/pkgs/bollux/fix_lesskey_nag.patch b/pkgs/bollux/fix_lesskey_nag.patch
deleted file mode 100644
index 329b886..0000000
--- a/pkgs/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/pkgs/cargo-clean-all.nix b/pkgs/cargo-clean-all.nix
deleted file mode 100644
index c54e593..0000000
--- a/pkgs/cargo-clean-all.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- lib,
- rustPlatform,
- fetchFromGitHub,
-}:
-let
- buildRustPackage = import ../lib/build-rust-package.nix {
- inherit lib rustPlatform fetchFromGitHub;
- };
-in
-buildRustPackage (
- with lib;
- {
- pname = "cargo-clean-all";
- version = "21b0d4a451629f1f9073dbab8b32a6de85b33f75";
- githubOwner = "dnlmlr";
- githubHash = "sha256-rNwAzpBUAFDt6SpVi1htAMTB7TUD4YqpxJkd3hYCPAQ=";
- cargoHash = "sha256-/2wCKAmYYKMYe6V6Y1DPfaE+/WuhFs9zX4+B2OtxGBc=";
- license = licenses.mit;
- maintainers = [ maintainers.Fuwn ];
- }
-)
diff --git a/pkgs/chan-downloader.nix b/pkgs/chan-downloader.nix
deleted file mode 100644
index 67d5643..0000000
--- a/pkgs/chan-downloader.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- lib,
- rustPlatform,
- fetchFromGitHub,
- pkg-config,
- openssl,
-}:
-let
- buildRustPackage = import ../lib/build-rust-package.nix {
- inherit lib rustPlatform fetchFromGitHub;
- };
-in
-buildRustPackage (
- with lib;
- {
- pname = "chan-downloader";
- version = "e418e909ab90c8700d51b08e170051804a6919d2";
- githubOwner = "nixports";
- githubHash = "sha256-x0pKdaQFPXbdK7BjzZNA9Bq1RL2+ipe8DWav9fbLDp4=";
- cargoHash = "sha256-G0vcigHj83d9j6qMc23NTzdFMrFsNNSYBhHZYyAJhYo=";
- description = "CLI to download all images/webms in a 4chan thread";
- license = licenses.mit;
- maintainers = [ maintainers.Fuwn ];
- nativeBuildInputs = [ pkg-config ];
- buildInputs = [ openssl.dev ];
- }
-)
diff --git a/pkgs/git-sumi.nix b/pkgs/git-sumi.nix
deleted file mode 100644
index 19c4ef1..0000000
--- a/pkgs/git-sumi.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- lib,
- rustPlatform,
- fetchFromGitHub,
-}:
-let
- buildRustPackage = import ../lib/build-rust-package.nix {
- inherit lib rustPlatform fetchFromGitHub;
- };
-in
-buildRustPackage (
- with lib;
- {
- pname = "git-sumi";
- version = "3822ce390a2a04eec4513f83586f775e59f3cbf1";
- githubOwner = "welpo";
- githubHash = "sha256-s8ZeO1vprQG8POimfZqLDbfZoG2ww1plr+V5ob59kik=";
- cargoHash = "sha256-hKRE3y+njdbThTHgxAGP5ZGkawSpsMLeBzNPDsBsaxY=";
- description = "The non-opinionated Rust-based commit message linter.";
- license = licenses.asl20;
- maintainers = [ maintainers.Fuwn ];
- }
-)
diff --git a/pkgs/private-internet-access.nix b/pkgs/private-internet-access.nix
deleted file mode 100644
index 79f31f8..0000000
--- a/pkgs/private-internet-access.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- pkgs,
- stdenvNoCC,
- autoPatchelfHook,
- lib,
-}:
-stdenvNoCC.mkDerivation rec {
- pname = "private-internet-access";
- version = "3.5.7";
- unpackPhase = "true";
-
- nativeBuildInputs = [
- autoPatchelfHook
- pkgs.qt5.wrapQtAppsHook
- ];
-
- src = pkgs.fetchurl {
- url = "https://installers.privateinternetaccess.com/download/pia-linux-${version}-08120.run";
- hash = "sha256-QVlIGqSXerSwZtqeLvjmQS/p7Z1JJIPWQLWQj+ZA6/g=";
- };
-
- buildInputs = with pkgs; [
- bash
- coreutils
- libGL
- libsForQt5.qt5.full
- libsForQt5.qt5.qtgamepad
- libsForQt5.qt5.qtremoteobjects
- ];
-
- installPhase = ''
- runHook preInstall
-
- mkdir -p $out/pia
-
- bash $src --noexec --target $out/pia
- rm $out/pia/piafiles/bin/pia-unbound
-
- mkdir -p $out/bin
- cp -r $out/pia/piafiles/bin/* $out/bin/
-
- mkdir -p $out/lib
- cp -r $out/pia/piafiles/lib/* $out/lib/
-
- mkdir -p $out/share
- cp -r $out/pia/piafiles/share/* $out/share/
-
- mkdir -p $out/plugins
- cp -r $out/pia/piafiles/plugins/* $out/plugins/
-
- mkdir -p $out/qml
- cp -r $out/pia/piafiles/qml/* $out/qml/
-
- mkdir -p $out/etc/systemd/system/
- cp $out/pia/installfiles/piavpn.service $out/etc/systemd/system/
- cp $out/pia/installfiles/piavpn.openrc.service $out/etc/systemd/system/
- cp $out/pia/installfiles/piavpn.sysvinit.service $out/etc/systemd/system/
-
- mkdir -p $out/share/applications
- mkdir -p $out/share/icons/hicolor/256x256/apps
- cp $out/pia/installfiles/piavpn.desktop $out/share/applications/
- cp $out/pia/installfiles/app-icon.png $out/share/icons/hicolor/256x256/apps/
-
- runHook postInstall
- '';
-
- meta = with lib; {
- description = "Private Internet Access: The Best VPN for Digital Privacy";
- license = licenses.unfree;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/swaddle.nix b/pkgs/swaddle.nix
deleted file mode 100644
index 7b1778e..0000000
--- a/pkgs/swaddle.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- lib,
- rustPlatform,
- fetchFromGitHub,
- dbus,
- pkg-config,
-}:
-let
- buildRustPackage = import ../lib/build-rust-package.nix {
- inherit lib rustPlatform fetchFromGitHub;
- };
-in
-buildRustPackage (
- with lib;
- {
- pname = "swaddle";
- version = "5a91352b3fc84d3af5d82eeda90f4b6844126dcb";
- githubOwner = "ATTron";
- githubHash = "sha256-tZAmaHXatzAo+sF2eBO2xsvJX2G2h6ShFRFpCHJcVew=";
- cargoHash = "sha256-q+EkvenuJGxmfDpPnvQa3lJSc+CUCFxesmDaVGbBngE=";
- description = "Swayidle inhibitor when watching content or listening to audio";
- license = licenses.mit;
- maintainers = [ maintainers.Fuwn ];
- nativeBuildInputs = [ pkg-config ];
- buildInputs = [ dbus.dev ];
- }
-)
diff --git a/pkgs/t.nix b/pkgs/t.nix
deleted file mode 100644
index 923bb58..0000000
--- a/pkgs/t.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{
- lib,
- rustPlatform,
- fetchFromGitHub,
-}:
-let
- buildRustPackage = import ../lib/build-rust-package.nix {
- inherit lib rustPlatform fetchFromGitHub;
- };
-in
-buildRustPackage (
- with lib;
- {
- pname = "t";
- version = "30a0bf6e5aec20c40e1b0c96fe9c6e3521997ff3";
- githubOwner = "nixports";
- githubHash = "sha256-4xlo+WecV0wAHaHRN37HvEaKnUHIRBSMk6BWn7PAIPc=";
- cargoHash = "sha256-olRytgRRCj9V+V96Q1Eb+JOGxFKhhd/1C2Ge4NXv86Q=";
- maintainers = with maintainers; [ Fuwn ];
- license = licenses.mit;
- }
-)
diff --git a/pkgs/thorium.nix b/pkgs/thorium.nix
deleted file mode 100644
index 23ae485..0000000
--- a/pkgs/thorium.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ pkgs, lib, ... }:
-let
- thorium-version = "126.0.6478.246";
- thorium-release = "${thorium-version}_Th24_SSE4";
-
- thorium-archive = pkgs.fetchurl {
- url = "https://github.com/Alex313031/thorium/releases/download/M${thorium-version}/Thorium_Browser_${thorium-release}.AppImage";
- hash = "sha256-izYbx/mSA+l7fAh917SauHopk3UlUJo+7NjkyIGpnNA=";
- };
-in
-# https://discourse.nixos.org/t/creating-a-nix-derivation-for-an-appimage/31927
-pkgs.appimageTools.wrapType2 {
- pname = "thorium";
- version = thorium-version;
- src = "${thorium-archive}";
-
- meta = with lib; {
- description = "Chromium fork named after radioactive element No. 90. Windows and MacOS/Raspi/Android/Special builds are in different repositories, links are towards the top of the README.md.";
- sourceProvenance = with sourceTypes; [ binaryNativeCode ];
- homepage = "https://thorium.rocks/";
- license = licenses.bsd3;
- platforms = platforms.linux;
- mainProgram = "thorium-browser";
- };
-}
diff --git a/pkgs/yaak.nix b/pkgs/yaak.nix
deleted file mode 100644
index 5331462..0000000
--- a/pkgs/yaak.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- pkgs ? import <nixpkgs> { },
- lib,
- ...
-}:
-let
- yaak-version = "2024.6.6";
-
- yaak-archive = pkgs.fetchzip {
- url = "https://releases.yaak.app/releases/${yaak-version}/yaak_${yaak-version}_amd64.AppImage.tar.gz";
- hash = "sha256-Qnc4RlQmQWHARreQ69jAshq57bZ56Yt5a35jpTjGwNU=";
- };
-in
-# https://discourse.nixos.org/t/creating-a-nix-derivation-for-an-appimage/31927
-pkgs.appimageTools.wrapType2 rec {
- pname = "yaak";
- version = yaak-version;
- src = "${yaak-archive}/yaak_${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";
- };
-}
diff --git a/pkgs/zen-browser-bin.nix b/pkgs/zen-browser-bin.nix
deleted file mode 100644
index d0ff8c0..0000000
--- a/pkgs/zen-browser-bin.nix
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- stdenv,
- lib,
- fetchzip,
- makeDesktopItem,
- autoPatchelfHook,
- wrapGAppsHook3,
- copyDesktopItems,
- gtk3,
- alsa-lib,
- dbus-glib,
- xorg,
- pciutils,
- libva,
- pipewire,
- libglvnd,
-}:
-let
- desktopItem = makeDesktopItem {
- name = "zen-browser";
- desktopName = "Zen Browser";
- genericName = "Web Browser";
- categories = [
- "Network"
- "WebBrowser"
- ];
- keywords = [
- "internet"
- "www"
- "browser"
- "web"
- "explorer"
- ];
- exec = "zen %u";
- icon = "zen";
- mimeTypes = [
- "text/html"
- "text/xml"
- "application/xhtml+xml"
- "application/vnd.mozilla.xul+xml"
- "x-scheme-handler/http"
- "x-scheme-handler/https"
- ];
- startupNotify = true;
- startupWMClass = "zen-alpha";
- terminal = false;
- actions = {
- new-window = {
- name = "New Window";
- exec = "zen --new-window %u";
- };
- new-private-window = {
- name = "New Private Window";
- exec = "zen --private-window %u";
- };
- profile-manager-window = {
- name = "Profile Manager";
- exec = "zen --ProfileManager %u";
- };
- };
- };
-in
-stdenv.mkDerivation rec {
- pname = "zen-browser-bin";
- version = "1.0.1-a";
-
- src = fetchzip {
- url = "https://github.com/zen-browser/desktop/releases/download/${version}/zen.linux-specific.tar.bz2";
- hash = "sha256-NJYhHwAv7+K0+EDJaI+aZm1KWTxmFXD7C0/aPoxqtjw=";
- };
-
- desktopItems = [ desktopItem ];
-
- nativeBuildInputs = [
- autoPatchelfHook
- wrapGAppsHook3
- copyDesktopItems
- ];
-
- buildInputs = [
- gtk3
- alsa-lib
- dbus-glib
- xorg.libXtst
- ];
-
- installPhase = ''
- runHook preInstall
-
- mkdir -p $out/lib
- cp -r $src $out/lib/zen/
-
- mkdir -p $out/bin
- ln -s $out/lib/zen/zen $out/bin/zen
-
- for n in {16,32,48,64,128}; do
- size=$n"x"$n
- mkdir -p $out/share/icons/hicolor/$size/apps
- file="default"$n".png"
- cp $out/lib/zen/browser/chrome/icons/default/$file $out/share/icons/hicolor/$size/apps/zen.png
- done
-
- runHook postInstall
- '';
-
- preFixup = ''
- gappsWrapperArgs+=(
- --prefix LD_LIBRARY_PATH : "${
- lib.makeLibraryPath [
- pciutils
- pipewire
- libva
- libglvnd
- ]
- }"
- )
- gappsWrapperArgs+=(--set MOZ_LEGACY_PROFILES 1)
- wrapGApp $out/lib/zen/zen
- '';
-
- meta = with lib; {
- license = licenses.mpl20;
- maintainers = with maintainers; [ mordrag ];
- description = "Experience tranquillity while browsing the web without people tracking you! ";
- platforms = platforms.linux;
- mainProgram = "zen";
- };
-}