diff options
author | figsoda <figsoda@pm.me> | 2021-10-25 11:36:50 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-10-25 12:16:49 -0400 |
commit | aa224e0f414ad86718c88f36283e4884ea93c111 (patch) | |
tree | 37d857ceff38991257bd06357689b1b76f7be2ae /pkgs/applications/networking/mailreaders | |
parent | c750019f9d2f3fc9c506e3c49536e431f96e2e41 (diff) |
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 ]; }; |