Commit eee5863a authored by Sergei Zimmerman's avatar Sergei Zimmerman
Browse files

flawz: reformat

parent 067e947a
Loading
Loading
Loading
Loading
+25 −12
Original line number Diff line number Diff line
{ 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;