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

rust-motd: 0.2.1 -> 1.0.0
This commit is contained in:
Maximilian Bosch 2022-10-09 12:30:51 +02:00 committed by GitHub
commit 1d4a52da6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,26 +9,33 @@
rustPlatform.buildRustPackage rec {
pname = "rust-motd";
version = "0.2.1";
version = "1.0.0";
src = fetchFromGitHub {
owner = "rust-motd";
repo = pname;
rev = "v${version}";
sha256 = "sha256-iuADR7m+wdmsQ897o4CQHqDv9PmYu/vJgO5C6Dluao4=";
hash = "sha256-w984vvjjieSv4eM3jT8zJIIR7/7pmADhR3Esj+2dCTs=";
};
cargoSha256 = "sha256-kdSMcADoTpMU4w2XSv0pPQZC155rrQACQ4XTVyj7eeA=";
cargoHash = "sha256-L/QdFjSYm3PekKS3tdsUl8XBVyIBE044EHOIB+aEltI=";
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
];
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
buildInputs = [
openssl
] ++ lib.optional stdenv.isDarwin [
Security
];
OPENSSL_NO_VENDOR = 1;
meta = with lib; {
description = "Beautiful, useful MOTD generation with zero runtime dependencies";
homepage = "https://github.com/rust-motd/rust-motd";
changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
};