mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-26 23:27:29 +03:00
rust-motd: modernize
- add changelog to meta
This commit is contained in:
parent
3d66e783db
commit
dfe88a09d1
@ -15,20 +15,27 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "rust-motd";
|
owner = "rust-motd";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-w984vvjjieSv4eM3jT8zJIIR7/7pmADhR3Esj+2dCTs=";
|
hash = "sha256-w984vvjjieSv4eM3jT8zJIIR7/7pmADhR3Esj+2dCTs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-L/QdFjSYm3PekKS3tdsUl8XBVyIBE044EHOIB+aEltI=";
|
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;
|
OPENSSL_NO_VENDOR = 1;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Beautiful, useful MOTD generation with zero runtime dependencies";
|
description = "Beautiful, useful MOTD generation with zero runtime dependencies";
|
||||||
homepage = "https://github.com/rust-motd/rust-motd";
|
homepage = "https://github.com/rust-motd/rust-motd";
|
||||||
|
changelog = "https://github.com/rust-motd/rust-motd/releases/tag/v${version}";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ figsoda ];
|
maintainers = with maintainers; [ figsoda ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user