Merge pull request #297587 from ByteSudoer/update-fend

fend: 1.4.3 -> 1.4.5
This commit is contained in:
Pol Dellaiera 2024-03-25 11:08:42 +01:00 committed by GitHub
commit 41273a81fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,8 @@
, rustPlatform
, darwin
, pandoc
, pkg-config
, openssl
, installShellFiles
, copyDesktopItems
, makeDesktopItem
@ -16,19 +18,19 @@
rustPlatform.buildRustPackage rec {
pname = "fend";
version = "1.4.3";
version = "1.4.5";
src = fetchFromGitHub {
owner = "printfn";
repo = "fend";
rev = "v${version}";
hash = "sha256-X96r5wN5eq1PZD/JGqnG/0kg6PYEdnj5h9zc+GXQjQM=";
hash = "sha256-l4AZpvLMmNuUWHqm5b0ngBxSHh5CV0SMOyKSF4LaxSI=";
};
cargoHash = "sha256-UIZs45OQ1j57VEb6g4P0AwjmEsjMt0am5FUXXDODaWI=";
cargoHash = "sha256-mx0KXGbSxn54JUyLVJms/AdPseKA9QH1Ixi7XKydf2w=";
nativeBuildInputs = [ pandoc installShellFiles copyDesktopItems ];
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
nativeBuildInputs = [ pandoc installShellFiles pkg-config copyDesktopItems ];
buildInputs = [ pkg-config openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
postBuild = ''
patchShebangs --build ./documentation/build.sh
@ -82,7 +84,7 @@ rustPlatform.buildRustPackage rec {
description = "Arbitrary-precision unit-aware calculator";
homepage = "https://github.com/printfn/fend";
changelog = "https://github.com/printfn/fend/releases/tag/v${version}";
license = licenses.gpl3Plus;
license = licenses.mit;
maintainers = with maintainers; [ djanatyn liff ];
mainProgram = "fend";
};