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
|
, libiconv
|
||||||
, openssl
|
, openssl
|
||||||
, notmuch
|
, notmuch
|
||||||
|
, withRusttlsTls ? true
|
||||||
|
, withRusttlsNativeCerts ? withRusttlsTls
|
||||||
|
, withNativeTls ? false
|
||||||
|
, withNativeTlsVendored ? withNativeTls
|
||||||
, withImapBackend ? true
|
, withImapBackend ? true
|
||||||
, withNotmuchBackend ? false
|
, withNotmuchBackend ? false
|
||||||
, withSmtpSender ? true
|
, withSmtpSender ? true
|
||||||
|
@ -17,27 +21,31 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "himalaya";
|
pname = "himalaya";
|
||||||
version = "0.7.1";
|
version = "0.7.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "soywod";
|
owner = "soywod";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-yAfNH9LSXlS/Hzi5kAuur5BX2vITMucprDzxhlV8RiY=";
|
sha256 = "HmH4qL70ii8rS8OeUnUxsy9/wMx+f2SBd1AyRqlfKfc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-FXfh6T8dNsnD/V/wYSMDWs+ll0d1jg1Dc3cQT39b0ws=";
|
cargoSha256 = "NJFOtWlfKZRLr9vvDvPQjpT4LGMeytk0JFJb0r77bwE=";
|
||||||
|
|
||||||
nativeBuildInputs = [ ]
|
nativeBuildInputs = [ ]
|
||||||
++ lib.optional (installManPages || installShellCompletions) installShellFiles
|
++ lib.optional (installManPages || installShellCompletions) installShellFiles
|
||||||
++ lib.optional (!stdenv.hostPlatform.isDarwin) pkg-config;
|
++ lib.optional (withNativeTls && !stdenv.hostPlatform.isDarwin) pkg-config;
|
||||||
|
|
||||||
buildInputs = [ ]
|
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;
|
++ lib.optional withNotmuchBackend notmuch;
|
||||||
|
|
||||||
buildNoDefaultFeatures = true;
|
buildNoDefaultFeatures = true;
|
||||||
buildFeatures = [ ]
|
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 withImapBackend "imap-backend"
|
||||||
++ lib.optional withNotmuchBackend "notmuch-backend"
|
++ lib.optional withNotmuchBackend "notmuch-backend"
|
||||||
++ lib.optional withSmtpSender "smtp-sender";
|
++ lib.optional withSmtpSender "smtp-sender";
|
||||||
|
@ -54,8 +62,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Command-line interface for email management";
|
description = "CLI to manage your emails.";
|
||||||
homepage = "https://github.com/soywod/himalaya";
|
homepage = "https://pimalaya.org/himalaya/";
|
||||||
changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md";
|
changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ soywod toastal yanganto ];
|
maintainers = with maintainers; [ soywod toastal yanganto ];
|
||||||
|
|
Loading…
Reference in a new issue