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