wiki-tui: format with nixfmt

This commit is contained in:
Builditluc 2024-08-14 11:24:25 +02:00 committed by Alyssa Ross
parent 818e0e5ba2
commit 0cb2fd7c59

View File

@ -1,11 +1,12 @@
{ lib {
, stdenv lib,
, rustPlatform stdenv,
, fetchFromGitHub rustPlatform,
, ncurses fetchFromGitHub,
, openssl ncurses,
, pkg-config openssl,
, Security pkg-config,
Security,
}: }:
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
@ -23,16 +24,12 @@ rustPlatform.buildRustPackage rec {
# release (see: https://github.com/NixOS/nixpkgs/issues/332957) # release (see: https://github.com/NixOS/nixpkgs/issues/332957)
cargoPatches = [ ./time.patch ]; cargoPatches = [ ./time.patch ];
nativeBuildInputs = [ nativeBuildInputs = [ pkg-config ];
pkg-config
];
buildInputs = [ buildInputs = [
ncurses ncurses
openssl openssl
] ++ lib.optionals stdenv.isDarwin [ ] ++ lib.optionals stdenv.isDarwin [ Security ];
Security
];
cargoHash = "sha256-XovbT+KC0va7yC5j7kf6t1SnXe1uyy1KI8FRV1AwkS0="; cargoHash = "sha256-XovbT+KC0va7yC5j7kf6t1SnXe1uyy1KI8FRV1AwkS0=";
@ -41,7 +38,11 @@ rustPlatform.buildRustPackage rec {
homepage = "https://github.com/builditluc/wiki-tui"; homepage = "https://github.com/builditluc/wiki-tui";
changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${version}"; changelog = "https://github.com/Builditluc/wiki-tui/releases/tag/v${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ lom builditluc matthiasbeyer ]; maintainers = with maintainers; [
lom
builditluc
matthiasbeyer
];
mainProgram = "wiki-tui"; mainProgram = "wiki-tui";
}; };
} }