octofetch: use new SRI hash format

This commit is contained in:
AndersonTorres 2022-06-02 21:50:03 -03:00
parent ed1657fb58
commit ed6560b2d1

View file

@ -1,9 +1,9 @@
{ lib { lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, rustPlatform
, pkg-config
, openssl , openssl
, pkg-config
, rustPlatform
, Security , Security
}: }:
@ -18,15 +18,16 @@ rustPlatform.buildRustPackage rec {
sha256 = "sha256-/AXE1e02NfxQzJZd0QX6gJDjmFFmuUTOndulZElgIMI="; sha256 = "sha256-/AXE1e02NfxQzJZd0QX6gJDjmFFmuUTOndulZElgIMI=";
}; };
cargoSha256 = "sha256:1ddyzbpsiy54r13nb9yrm64cbbifixnhkskwg5fvhhzj4ri4ks4a"; cargoSha256 = "sha256-iuhJYibyQ7hdeXzqCW2PLq7FiKnZp2VHyKT4qO/6vrU=";
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = lib.optionals stdenv.isLinux [ openssl ] buildInputs = lib.optionals stdenv.isLinux [ openssl ]
++ lib.optionals stdenv.isDarwin [ Security ]; ++ lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; { meta = with lib; {
description = "Github user information on terminal";
homepage = "https://github.com/azur1s/octofetch"; homepage = "https://github.com/azur1s/octofetch";
description = "Github user information on terminal";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ jyooru ]; maintainers = with maintainers; [ jyooru ];
}; };