From 2d59c247599f776355dc71159eb34d6bf7287c85 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Mon, 25 Nov 2024 00:05:02 +0000 Subject: [PATCH] fend: 1.5.3 -> 1.5.5 --- pkgs/by-name/fe/fend/package.nix | 61 ++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 23 deletions(-) diff --git a/pkgs/by-name/fe/fend/package.nix b/pkgs/by-name/fe/fend/package.nix index 4f8ef21355e8..e2abc19aafc7 100644 --- a/pkgs/by-name/fe/fend/package.nix +++ b/pkgs/by-name/fe/fend/package.nix @@ -1,36 +1,44 @@ -{ lib -, stdenv -, fetchFromGitHub -, rustPlatform -, darwin -, pandoc -, pkg-config -, openssl -, installShellFiles -, copyDesktopItems -, makeDesktopItem -, nix-update-script -, testers -, writeText -, runCommand -, fend +{ + lib, + fetchFromGitHub, + rustPlatform, + pandoc, + pkg-config, + openssl, + installShellFiles, + copyDesktopItems, + makeDesktopItem, + nix-update-script, + testers, + writeText, + runCommand, + fend, }: rustPlatform.buildRustPackage rec { pname = "fend"; - version = "1.5.3"; + version = "1.5.5"; src = fetchFromGitHub { owner = "printfn"; repo = "fend"; rev = "v${version}"; - hash = "sha256-mokBvBJlqvrherpZ+qMy86CXESXlaC6Qh3LISmmfR0Q="; + hash = "sha256-yRNfkP6DgXK1pLq50D9dMbbJaOX4ouQACJrfP5XrAJs="; }; - cargoHash = "sha256-+8rXZ+xX2fqm0+tFnyQK9HXa/ZuIcbvtzVrB5cOUCp4="; + cargoHash = "sha256-y2H1BghzVvU/1WtAa4Yy2G9liKNbnyaufn5HbApwERA="; - nativeBuildInputs = [ pandoc installShellFiles pkg-config copyDesktopItems ]; - buildInputs = [ pkg-config openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.Security ]; + nativeBuildInputs = [ + pandoc + installShellFiles + pkg-config + copyDesktopItems + ]; + + buildInputs = [ + pkg-config + openssl + ]; postBuild = '' patchShebangs --build ./documentation/build.sh @@ -60,7 +68,11 @@ rustPlatform.buildRustPackage rec { icon = "fend"; exec = "fend"; terminal = true; - categories = [ "Utility" "Calculator" "ConsoleOnly" ]; + categories = [ + "Utility" + "Calculator" + "ConsoleOnly" + ]; }) ]; @@ -85,7 +97,10 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/printfn/fend"; changelog = "https://github.com/printfn/fend/releases/tag/v${version}"; license = licenses.mit; - maintainers = with maintainers; [ djanatyn liff ]; + maintainers = with maintainers; [ + djanatyn + liff + ]; mainProgram = "fend"; }; }