From eee5863a7d18d817f1ff5248f2075f67fa85ed78 Mon Sep 17 00:00:00 2001 From: Sergei Zimmerman <145775305+xokdvium@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:34:25 +0300 Subject: [PATCH] flawz: reformat --- pkgs/by-name/fl/flawz/package.nix | 37 +++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/fl/flawz/package.nix b/pkgs/by-name/fl/flawz/package.nix index fb40c65dc218..4a2e56673f96 100644 --- a/pkgs/by-name/fl/flawz/package.nix +++ b/pkgs/by-name/fl/flawz/package.nix @@ -1,11 +1,12 @@ -{ lib -, fetchFromGitHub -, rustPlatform -, pkg-config -, openssl -, sqlite -, installShellFiles -, stdenv +{ + lib, + fetchFromGitHub, + rustPlatform, + pkg-config, + openssl, + sqlite, + installShellFiles, + stdenv, }: rustPlatform.buildRustPackage rec { @@ -21,10 +22,19 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-kMiKlZj+G1vfjaEiB3rtPoJl0K3W9xRVwgVz8q2pn1s="; - nativeBuildInputs = [ pkg-config installShellFiles ]; + nativeBuildInputs = [ + pkg-config + installShellFiles + ]; - buildInputs = [ openssl sqlite ]; - outputs = [ "out" "man" ]; + buildInputs = [ + openssl + sqlite + ]; + outputs = [ + "out" + "man" + ]; postInstall = '' export OUT_DIR=$(mktemp -d) @@ -48,7 +58,10 @@ rustPlatform.buildRustPackage rec { description = "Terminal UI for browsing CVEs"; homepage = "https://github.com/orhun/flawz"; changelog = "https://github.com/orhun/flawz/releases/tag/v${version}"; - license = with lib.licenses; [ mit asl20 ]; + license = with lib.licenses; [ + mit + asl20 + ]; mainProgram = "flawz"; maintainers = with lib.maintainers; [ anas ]; platforms = with lib.platforms; unix ++ windows;