From ed6560b2d111b771a2014a79aa1c941cb6254f3a Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Thu, 2 Jun 2022 21:50:03 -0300 Subject: [PATCH] octofetch: use new SRI hash format --- pkgs/tools/misc/octofetch/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/octofetch/default.nix b/pkgs/tools/misc/octofetch/default.nix index e0cf9d98d651..3d2d2919aa56 100644 --- a/pkgs/tools/misc/octofetch/default.nix +++ b/pkgs/tools/misc/octofetch/default.nix @@ -1,9 +1,9 @@ { lib , stdenv , fetchFromGitHub -, rustPlatform -, pkg-config , openssl +, pkg-config +, rustPlatform , Security }: @@ -18,15 +18,16 @@ rustPlatform.buildRustPackage rec { sha256 = "sha256-/AXE1e02NfxQzJZd0QX6gJDjmFFmuUTOndulZElgIMI="; }; - cargoSha256 = "sha256:1ddyzbpsiy54r13nb9yrm64cbbifixnhkskwg5fvhhzj4ri4ks4a"; + cargoSha256 = "sha256-iuhJYibyQ7hdeXzqCW2PLq7FiKnZp2VHyKT4qO/6vrU="; nativeBuildInputs = [ pkg-config ]; + buildInputs = lib.optionals stdenv.isLinux [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; meta = with lib; { - description = "Github user information on terminal"; homepage = "https://github.com/azur1s/octofetch"; + description = "Github user information on terminal"; license = licenses.mit; maintainers = with maintainers; [ jyooru ]; };