Merge pull request #194805 from figsoda/update-rust-motd

rust-motd: 0.2.1 -> 1.0.0

authored by Maximilian Bosch and committed by GitHub 1d4a52da 63a937e5

+12 -5
+12 -5
pkgs/tools/misc/rust-motd/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "rust-motd"; 12 - version = "0.2.1"; 12 + version = "1.0.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "rust-motd"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-iuADR7m+wdmsQ897o4CQHqDv9PmYu/vJgO5C6Dluao4="; 18 + hash = "sha256-w984vvjjieSv4eM3jT8zJIIR7/7pmADhR3Esj+2dCTs="; 19 19 }; 20 20 21 - cargoSha256 = "sha256-kdSMcADoTpMU4w2XSv0pPQZC155rrQACQ4XTVyj7eeA="; 21 + cargoHash = "sha256-L/QdFjSYm3PekKS3tdsUl8XBVyIBE044EHOIB+aEltI="; 22 22 23 - nativeBuildInputs = [ pkg-config ]; 23 + nativeBuildInputs = [ 24 + pkg-config 25 + ]; 24 26 25 - buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security; 27 + buildInputs = [ 28 + openssl 29 + ] ++ lib.optional stdenv.isDarwin [ 30 + Security 31 + ]; 26 32 27 33 OPENSSL_NO_VENDOR = 1; 28 34 29 35 meta = with lib; { 30 36 description = "Beautiful, useful MOTD generation with zero runtime dependencies"; 31 37 homepage = "https://github.com/rust-motd/rust-motd"; 38 + changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${version}"; 32 39 license = licenses.mit; 33 40 maintainers = with maintainers; [ figsoda ]; 34 41 };