Merge pull request #229320 from soywod/bump-himalaya-v0.7.3
himalaya: 0.7.1 -> 0.7.3
This commit is contained in:
commit
b24806fb68
1 changed files with 15 additions and 7 deletions
|
@ -10,6 +10,10 @@
|
|||
, libiconv
|
||||
, openssl
|
||||
, notmuch
|
||||
, withRusttlsTls ? true
|
||||
, withRusttlsNativeCerts ? withRusttlsTls
|
||||
, withNativeTls ? false
|
||||
, withNativeTlsVendored ? withNativeTls
|
||||
, withImapBackend ? true
|
||||
, withNotmuchBackend ? false
|
||||
, withSmtpSender ? true
|
||||
|
@ -17,27 +21,31 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "himalaya";
|
||||
version = "0.7.1";
|
||||
version = "0.7.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "soywod";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-yAfNH9LSXlS/Hzi5kAuur5BX2vITMucprDzxhlV8RiY=";
|
||||
sha256 = "HmH4qL70ii8rS8OeUnUxsy9/wMx+f2SBd1AyRqlfKfc=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-FXfh6T8dNsnD/V/wYSMDWs+ll0d1jg1Dc3cQT39b0ws=";
|
||||
cargoSha256 = "NJFOtWlfKZRLr9vvDvPQjpT4LGMeytk0JFJb0r77bwE=";
|
||||
|
||||
nativeBuildInputs = [ ]
|
||||
++ lib.optional (installManPages || installShellCompletions) installShellFiles
|
||||
++ lib.optional (!stdenv.hostPlatform.isDarwin) pkg-config;
|
||||
++ lib.optional (withNativeTls && !stdenv.hostPlatform.isDarwin) pkg-config;
|
||||
|
||||
buildInputs = [ ]
|
||||
++ (if stdenv.hostPlatform.isDarwin then [ Security libiconv ] else [ openssl ])
|
||||
++ lib.optional withNativeTls (if stdenv.hostPlatform.isDarwin then [ Security libiconv ] else [ openssl ])
|
||||
++ 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";
|
||||
|
@ -54,8 +62,8 @@ rustPlatform.buildRustPackage rec {
|
|||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line interface for email management";
|
||||
homepage = "https://github.com/soywod/himalaya";
|
||||
description = "CLI to manage your emails.";
|
||||
homepage = "https://pimalaya.org/himalaya/";
|
||||
changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ soywod toastal yanganto ];
|
||||
|
|
Loading…
Reference in a new issue