Merge pull request #297587 from ByteSudoer/update-fend
fend: 1.4.3 -> 1.4.5
This commit is contained in:
commit
41273a81fe
|
@ -4,6 +4,8 @@
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, darwin
|
, darwin
|
||||||
, pandoc
|
, pandoc
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
, copyDesktopItems
|
, copyDesktopItems
|
||||||
, makeDesktopItem
|
, makeDesktopItem
|
||||||
|
@ -16,19 +18,19 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "fend";
|
pname = "fend";
|
||||||
version = "1.4.3";
|
version = "1.4.5";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "printfn";
|
owner = "printfn";
|
||||||
repo = "fend";
|
repo = "fend";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-X96r5wN5eq1PZD/JGqnG/0kg6PYEdnj5h9zc+GXQjQM=";
|
hash = "sha256-l4AZpvLMmNuUWHqm5b0ngBxSHh5CV0SMOyKSF4LaxSI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-UIZs45OQ1j57VEb6g4P0AwjmEsjMt0am5FUXXDODaWI=";
|
cargoHash = "sha256-mx0KXGbSxn54JUyLVJms/AdPseKA9QH1Ixi7XKydf2w=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pandoc installShellFiles copyDesktopItems ];
|
nativeBuildInputs = [ pandoc installShellFiles pkg-config copyDesktopItems ];
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
buildInputs = [ pkg-config openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
|
||||||
|
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
patchShebangs --build ./documentation/build.sh
|
patchShebangs --build ./documentation/build.sh
|
||||||
|
@ -82,7 +84,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
description = "Arbitrary-precision unit-aware calculator";
|
description = "Arbitrary-precision unit-aware calculator";
|
||||||
homepage = "https://github.com/printfn/fend";
|
homepage = "https://github.com/printfn/fend";
|
||||||
changelog = "https://github.com/printfn/fend/releases/tag/v${version}";
|
changelog = "https://github.com/printfn/fend/releases/tag/v${version}";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ djanatyn liff ];
|
maintainers = with maintainers; [ djanatyn liff ];
|
||||||
mainProgram = "fend";
|
mainProgram = "fend";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user