octofetch: init at 0.3.1

octofetch: use buildInputs for openssl

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
This commit is contained in:
Joel 2021-11-03 18:13:27 +10:00 committed by Jonathan Ringer
parent 3f9f6c91bd
commit f3decfa7da
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ lib
, fetchFromGitHub
, rustPlatform
, pkg-config
, openssl
}:
rustPlatform.buildRustPackage rec {
pname = "octofetch";
version = "0.3.1";
src = fetchFromGitHub {
owner = "azur1s";
repo = pname;
rev = version;
sha256 = "sha256-ciBFTVdHotjifNAoXJjI9CumyK98OkMmfWMbrEldlNI=";
};
cargoSha256 = "sha256-Gzemm5HY6YwlxesQlil6R+34OtAeU2k7f/9+Lll3i8k=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "Github user information on terminal";
homepage = "https://github.com/azur1s/octofetch";
license = licenses.mit;
maintainers = with maintainers; [ jyooru ];
};
}

View File

@ -8035,6 +8035,8 @@ with pkgs;
ocserv = callPackage ../tools/networking/ocserv { };
octofetch = callPackage ../tools/misc/octofetch { };
oha = callPackage ../tools/networking/oha {
inherit (darwin.apple_sdk.frameworks) Security;
};