1 { fetchFromGitHub, rustPlatform, lib, stdenv, fetchpatch
2 , CoreFoundation, libiconv, libresolv, Security }:
4 rustPlatform.buildRustPackage rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-owa+HmzMXpLR7H1FssW4gQiVAQGJRXhcitgJj6pxJRc=";
15 cargoSha256 = "sha256-TqWe4eARQmmWcwnvb6BIZrzGeKMpiIObPv0cW1JvWj4=";
17 buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ];
20 description = "Git repository summary on your terminal";
21 homepage = "https://github.com/o2sh/onefetch";
22 license = licenses.mit;
23 maintainers = with maintainers; [ Br1ght0ne kloenk ];