flawz: reformat

This commit is contained in:
Sergei Zimmerman 2024-10-25 13:34:25 +03:00
parent 067e947acd
commit eee5863a7d

View File

@ -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;