From 0d0c04f4e9c169630688d06defa14570a3cfbb32 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 1 Sep 2024 20:19:11 -0700 Subject: format --- pkgs/ahoviewer.nix | 4 +++- pkgs/bindtointerface.nix | 10 ++++++++-- pkgs/cargo-clean-all.nix | 8 ++++---- pkgs/chan-downloader.nix | 12 ++++++------ pkgs/git-sumi.nix | 8 ++++---- pkgs/private-internet-access.nix | 16 ++++++++++------ pkgs/swaddle.nix | 12 ++++++------ 7 files changed, 41 insertions(+), 29 deletions(-) (limited to 'pkgs') diff --git a/pkgs/ahoviewer.nix b/pkgs/ahoviewer.nix index dbd747c..38524dc 100644 --- a/pkgs/ahoviewer.nix +++ b/pkgs/ahoviewer.nix @@ -1,4 +1,6 @@ -{ pkgs ? import { } }: +{ + pkgs ? import { }, +}: pkgs.stdenv.mkDerivation rec { pname = "ahoviewer"; version = "42e16f9"; diff --git a/pkgs/bindtointerface.nix b/pkgs/bindtointerface.nix index dfba655..77cd7df 100644 --- a/pkgs/bindtointerface.nix +++ b/pkgs/bindtointerface.nix @@ -1,4 +1,10 @@ -{ pkgs, lib, stdenv, fetchurl, gcc }: +{ + pkgs, + lib, + stdenv, + fetchurl, + gcc, +}: stdenv.mkDerivation { pname = "bindtointerface"; version = "1.0"; @@ -32,7 +38,7 @@ stdenv.mkDerivation { env LD_PRELOAD=$out/lib/bindToInterface.so "\$@" EOF - + chmod +x $out/bin/vpn ''; diff --git a/pkgs/cargo-clean-all.nix b/pkgs/cargo-clean-all.nix index 2e2055f..42ef354 100644 --- a/pkgs/cargo-clean-all.nix +++ b/pkgs/cargo-clean-all.nix @@ -1,7 +1,7 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, +{ + lib, + rustPlatform, + fetchFromGitHub, }: let rustUtils = import ../lib/rust-utils.nix { diff --git a/pkgs/chan-downloader.nix b/pkgs/chan-downloader.nix index e63983a..10c55c3 100644 --- a/pkgs/chan-downloader.nix +++ b/pkgs/chan-downloader.nix @@ -1,9 +1,9 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, openssl -, +{ + lib, + rustPlatform, + fetchFromGitHub, + pkg-config, + openssl, }: let rustUtils = import ../lib/rust-utils.nix { diff --git a/pkgs/git-sumi.nix b/pkgs/git-sumi.nix index 3f84a33..488a7a0 100644 --- a/pkgs/git-sumi.nix +++ b/pkgs/git-sumi.nix @@ -1,7 +1,7 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, +{ + lib, + rustPlatform, + fetchFromGitHub, }: let rustUtils = import ../lib/rust-utils.nix { diff --git a/pkgs/private-internet-access.nix b/pkgs/private-internet-access.nix index 69e73af..79f31f8 100644 --- a/pkgs/private-internet-access.nix +++ b/pkgs/private-internet-access.nix @@ -1,14 +1,18 @@ -{ pkgs -, stdenvNoCC -, autoPatchelfHook -, lib -, +{ + pkgs, + stdenvNoCC, + autoPatchelfHook, + lib, }: stdenvNoCC.mkDerivation rec { pname = "private-internet-access"; version = "3.5.7"; unpackPhase = "true"; - nativeBuildInputs = [ autoPatchelfHook pkgs.qt5.wrapQtAppsHook ]; + + nativeBuildInputs = [ + autoPatchelfHook + pkgs.qt5.wrapQtAppsHook + ]; src = pkgs.fetchurl { url = "https://installers.privateinternetaccess.com/download/pia-linux-${version}-08120.run"; diff --git a/pkgs/swaddle.nix b/pkgs/swaddle.nix index bd83e34..bddb6a5 100644 --- a/pkgs/swaddle.nix +++ b/pkgs/swaddle.nix @@ -1,9 +1,9 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, dbus -, pkg-config -, +{ + lib, + rustPlatform, + fetchFromGitHub, + dbus, + pkg-config, }: let rustUtils = import ../lib/rust-utils.nix { -- cgit v1.2.3