diff options
author | figsoda <figsoda@pm.me> | 2021-10-25 13:54:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 13:54:50 -0400 |
commit | 191ef7775e98691c13965f24ae4985eb50569932 (patch) | |
tree | 15f29dd8627198ff2eb1f8655a89f05b82efa1e4 /pkgs/applications/networking/mailreaders | |
parent | 19a8af54848aada466b3503ccfcb9c098cfa26a4 (diff) | |
parent | aa224e0f414ad86718c88f36283e4884ea93c111 (diff) |
Merge pull request #142867 from figsoda/update-himalaya
himalaya: 0.4.0 -> 0.5.1
Diffstat (limited to 'pkgs/applications/networking/mailreaders')
-rw-r--r-- | pkgs/applications/networking/mailreaders/himalaya/default.nix | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/pkgs/applications/networking/mailreaders/himalaya/default.nix b/pkgs/applications/networking/mailreaders/himalaya/default.nix index b1c709b055b9a..33c1cc63a7f9b 100644 --- a/pkgs/applications/networking/mailreaders/himalaya/default.nix +++ b/pkgs/applications/networking/mailreaders/himalaya/default.nix @@ -1,33 +1,29 @@ { lib -, stdenv , rustPlatform , fetchFromGitHub -, openssl -, pkg-config -, installShellFiles +, stdenv , enableCompletions ? stdenv.hostPlatform == stdenv.buildPlatform +, installShellFiles +, pkg-config , Security , libiconv +, openssl }: + rustPlatform.buildRustPackage rec { pname = "himalaya"; - version = "0.4.0"; + version = "0.5.1"; src = fetchFromGitHub { owner = "soywod"; repo = pname; rev = "v${version}"; - sha256 = "sha256-6RgT/SxO4vsk8Yx2AbaNIFvnAvgDmeTXvb/v6nUJxhc="; + sha256 = "sha256-BmV4kekl0QDbX/ueSrWM5jRvqr6WQeZIs7hiXhiHBSI="; }; - cargoSha256 = "sha256-NEuIh7FwIdAWzlChna3+G0VukfV8nYZfVWa+3LxQCIA="; - - # use --lib flag to avoid test with imap server - # https://github.com/soywod/himalaya/issues/145 - cargoTestFlags = [ "--lib" ]; + cargoSha256 = "sha256-lu5xVuAw9yTeQr3gpiW5g5bdm7Alf0YXmlbSkPaXhk0="; - nativeBuildInputs = [ ] - ++ lib.optionals (enableCompletions) [ installShellFiles ] + nativeBuildInputs = lib.optionals enableCompletions [ installShellFiles ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ]; buildInputs = @@ -49,6 +45,7 @@ rustPlatform.buildRustPackage rec { meta = with lib; { description = "CLI email client written in Rust"; homepage = "https://github.com/soywod/himalaya"; + changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md"; license = licenses.bsd3; maintainers = with maintainers; [ yanganto ]; }; |