fend: 1.4.0 -> 1.4.3

This commit is contained in:
Rhys Davies 2024-02-24 18:20:54 +13:00
parent b4a17f20ea
commit 9eef6418f6
No known key found for this signature in database

View file

@ -16,16 +16,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "fend"; pname = "fend";
version = "1.4.0"; version = "1.4.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "printfn"; owner = "printfn";
repo = pname; repo = "fend";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-s6b15FhVfEwsHtVt4bhd6LDxl/WW1PXlUrH2XFOTT5E="; hash = "sha256-X96r5wN5eq1PZD/JGqnG/0kg6PYEdnj5h9zc+GXQjQM=";
}; };
cargoHash = "sha256-Ilsv0mo7/4eEdRH3jWZXdF4LSYYdWr6gCvnMMAZn5j0="; cargoHash = "sha256-UIZs45OQ1j57VEb6g4P0AwjmEsjMt0am5FUXXDODaWI=";
nativeBuildInputs = [ pandoc installShellFiles copyDesktopItems ]; nativeBuildInputs = [ pandoc installShellFiles copyDesktopItems ];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ]; buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
''; '';
postInstall = '' postInstall = ''
install -D -m 444 $src/icon/fend-icon-256.png $out/share/icons/hicolor/256x256/apps/fend.png install -D -m 444 $src/icon/icon.svg $out/share/icons/hicolor/scalable/apps/fend.svg
''; '';
desktopItems = [ desktopItems = [