Skip to content

Commit f3decfa

Browse files
jyoorujonringer
andcommitted
octofetch: init at 0.3.1
octofetch: use buildInputs for openssl Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
1 parent 3f9f6c9 commit f3decfa

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

pkgs/tools/misc/octofetch/default.nix

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
}

pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -8035,6 +8035,8 @@ with pkgs;
80358035

80368036
ocserv = callPackage ../tools/networking/ocserv { };
80378037

8038+
octofetch = callPackage ../tools/misc/octofetch { };
8039+
80388040
oha = callPackage ../tools/networking/oha {
80398041
inherit (darwin.apple_sdk.frameworks) Security;
80408042
};

0 commit comments

Comments
 (0)