octofetch: init at 0.3.1

octofetch: use buildInputs for openssl

Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>

authored by Joel Jonathan Ringer and committed by Jonathan Ringer f3decfa7 3f9f6c91

+33
+31
pkgs/tools/misc/octofetch/default.nix
···
··· 1 + { lib 2 + , fetchFromGitHub 3 + , rustPlatform 4 + , pkg-config 5 + , openssl 6 + }: 7 + 8 + rustPlatform.buildRustPackage rec { 9 + pname = "octofetch"; 10 + version = "0.3.1"; 11 + 12 + src = fetchFromGitHub { 13 + owner = "azur1s"; 14 + repo = pname; 15 + rev = version; 16 + sha256 = "sha256-ciBFTVdHotjifNAoXJjI9CumyK98OkMmfWMbrEldlNI="; 17 + }; 18 + 19 + cargoSha256 = "sha256-Gzemm5HY6YwlxesQlil6R+34OtAeU2k7f/9+Lll3i8k="; 20 + 21 + nativeBuildInputs = [ pkg-config ]; 22 + 23 + buildInputs = [ openssl ]; 24 + 25 + meta = with lib; { 26 + description = "Github user information on terminal"; 27 + homepage = "https://github.com/azur1s/octofetch"; 28 + license = licenses.mit; 29 + maintainers = with maintainers; [ jyooru ]; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 8035 8036 ocserv = callPackage ../tools/networking/ocserv { }; 8037 8038 oha = callPackage ../tools/networking/oha { 8039 inherit (darwin.apple_sdk.frameworks) Security; 8040 };
··· 8035 8036 ocserv = callPackage ../tools/networking/ocserv { }; 8037 8038 + octofetch = callPackage ../tools/misc/octofetch { }; 8039 + 8040 oha = callPackage ../tools/networking/oha { 8041 inherit (darwin.apple_sdk.frameworks) Security; 8042 };