about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-10-09 12:30:51 +0200
committerGitHub <noreply@github.com>2022-10-09 12:30:51 +0200
commit1d4a52da6a5009f64b0d0f5c1814074efbf00a5b (patch)
treeb3f6acc9bd50205934cb9903dc7de7f0c9c32aab /pkgs/tools
parent63a937e54bfc2e5bfe4f027dc9423e095b562c66 (diff)
parentdfe88a09d1929f43fa296d113b9cc2ae93a0e744 (diff)
Merge pull request #194805 from figsoda/update-rust-motd
rust-motd: 0.2.1 -> 1.0.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/rust-motd/default.nix17
1 files changed, 12 insertions, 5 deletions
diff --git a/pkgs/tools/misc/rust-motd/default.nix b/pkgs/tools/misc/rust-motd/default.nix
index bfd4db8ff8829..a2c7710984ea9 100644
--- a/pkgs/tools/misc/rust-motd/default.nix
+++ b/pkgs/tools/misc/rust-motd/default.nix
@@ -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 ];
   };