Merge pull request #142867 from figsoda/update-himalaya

himalaya: 0.4.0 -> 0.5.1

authored by

figsoda and committed by
GitHub
191ef777 19a8af54

+10 -13
+10 -13
pkgs/applications/networking/mailreaders/himalaya/default.nix
··· 1 1 { lib 2 - , stdenv 3 2 , rustPlatform 4 3 , fetchFromGitHub 5 - , openssl 6 - , pkg-config 4 + , stdenv 5 + , enableCompletions ? stdenv.hostPlatform == stdenv.buildPlatform 7 6 , installShellFiles 8 - , enableCompletions ? stdenv.hostPlatform == stdenv.buildPlatform 7 + , pkg-config 9 8 , Security 10 9 , libiconv 10 + , openssl 11 11 }: 12 + 12 13 rustPlatform.buildRustPackage rec { 13 14 pname = "himalaya"; 14 - version = "0.4.0"; 15 + version = "0.5.1"; 15 16 16 17 src = fetchFromGitHub { 17 18 owner = "soywod"; 18 19 repo = pname; 19 20 rev = "v${version}"; 20 - sha256 = "sha256-6RgT/SxO4vsk8Yx2AbaNIFvnAvgDmeTXvb/v6nUJxhc="; 21 + sha256 = "sha256-BmV4kekl0QDbX/ueSrWM5jRvqr6WQeZIs7hiXhiHBSI="; 21 22 }; 22 23 23 - cargoSha256 = "sha256-NEuIh7FwIdAWzlChna3+G0VukfV8nYZfVWa+3LxQCIA="; 24 - 25 - # use --lib flag to avoid test with imap server 26 - # https://github.com/soywod/himalaya/issues/145 27 - cargoTestFlags = [ "--lib" ]; 24 + cargoSha256 = "sha256-lu5xVuAw9yTeQr3gpiW5g5bdm7Alf0YXmlbSkPaXhk0="; 28 25 29 - nativeBuildInputs = [ ] 30 - ++ lib.optionals (enableCompletions) [ installShellFiles ] 26 + nativeBuildInputs = lib.optionals enableCompletions [ installShellFiles ] 31 27 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ pkg-config ]; 32 28 33 29 buildInputs = ··· 49 45 meta = with lib; { 50 46 description = "CLI email client written in Rust"; 51 47 homepage = "https://github.com/soywod/himalaya"; 48 + changelog = "https://github.com/soywod/himalaya/blob/v${version}/CHANGELOG.md"; 52 49 license = licenses.bsd3; 53 50 maintainers = with maintainers; [ yanganto ]; 54 51 };