summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking/mailreaders/himalaya
diff options
context:
space:
mode:
authorClément DOUIN <clement.douin@posteo.net>2023-05-31 17:36:57 +0200
committerClément DOUIN <clement.douin@posteo.net>2023-06-07 12:59:26 +0200
commitbe53021199db8eedc2afff7deb3611f17796d27e (patch)
tree4152b40dc58eac908870c837c1e7e5d4a8eb74de /pkgs/applications/networking/mailreaders/himalaya
parent09720cc41f0dad446f119e3a6259c640d4b33003 (diff)
himalaya: 0.7.3 -> 0.8.0
Diffstat (limited to 'pkgs/applications/networking/mailreaders/himalaya')
-rw-r--r--pkgs/applications/networking/mailreaders/himalaya/default.nix26
1 files changed, 5 insertions, 21 deletions
diff --git a/pkgs/applications/networking/mailreaders/himalaya/default.nix b/pkgs/applications/networking/mailreaders/himalaya/default.nix
index 72fb01957b50..0cb848f65cfc 100644
--- a/pkgs/applications/networking/mailreaders/himalaya/default.nix
+++ b/pkgs/applications/networking/mailreaders/himalaya/default.nix
@@ -5,15 +5,7 @@
, installShellFiles
, installShellCompletions ? stdenv.hostPlatform == stdenv.buildPlatform
, installManPages ? stdenv.hostPlatform == stdenv.buildPlatform
-, pkg-config
-, Security
-, libiconv
-, openssl
, notmuch
-, withRusttlsTls ? true
-, withRusttlsNativeCerts ? withRusttlsTls
-, withNativeTls ? false
-, withNativeTlsVendored ? withNativeTls
, withImapBackend ? true
, withNotmuchBackend ? false
, withSmtpSender ? true
@@ -21,31 +13,23 @@
rustPlatform.buildRustPackage rec {
pname = "himalaya";
- version = "0.7.3";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = "soywod";
repo = pname;
rev = "v${version}";
- sha256 = "HmH4qL70ii8rS8OeUnUxsy9/wMx+f2SBd1AyRqlfKfc=";
+ hash = "sha256-kK/F3Geiuz0CgGSE0sCOfSZjg9gEPLyUEilzb+SdIM8=";
};
- cargoSha256 = "NJFOtWlfKZRLr9vvDvPQjpT4LGMeytk0JFJb0r77bwE=";
+ cargoSha256 = "4L09lWD8tRJvBPzQlSdk4aa1QY7sVw26OwgMzscN1j8=";
- nativeBuildInputs = [ ]
- ++ lib.optional (installManPages || installShellCompletions) installShellFiles
- ++ lib.optional (withNativeTls && !stdenv.hostPlatform.isDarwin) pkg-config;
+ nativeBuildInputs = lib.optional (installManPages || installShellCompletions) installShellFiles;
- buildInputs = [ ]
- ++ lib.optional withNativeTls (if stdenv.hostPlatform.isDarwin then [ Security libiconv ] else [ openssl ])
- ++ lib.optional withNotmuchBackend notmuch;
+ buildInputs = lib.optional withNotmuchBackend notmuch;
buildNoDefaultFeatures = true;
buildFeatures = [ ]
- ++ lib.optional withRusttlsTls "rustls-tls"
- ++ lib.optional withRusttlsNativeCerts "rustls-native-certs"
- ++ lib.optional withNativeTls "native-tls"
- ++ lib.optional withNativeTlsVendored "native-tls-vendored"
++ lib.optional withImapBackend "imap-backend"
++ lib.optional withNotmuchBackend "notmuch-backend"
++ lib.optional withSmtpSender "smtp-sender";