Merge pull request #291056 from rhysmdnz/fend-143

fend: 1.4.0 -> 1.4.3
This commit is contained in:
Pol Dellaiera 2024-02-25 08:54:35 +01:00 committed by GitHub
commit 2a34566b67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 = [