linux_xanmod: 5.11.14 -> 5.11.15
[NixPkgs.git] / pkgs / tools / misc / onefetch / default.nix
blob5dab2044973aa1735febc5dfcd68c6c82a4fb390
1 { fetchFromGitHub, rustPlatform, lib, stdenv, fetchpatch
2 , CoreFoundation, libiconv, libresolv, Security }:
4 rustPlatform.buildRustPackage rec {
5   pname = "onefetch";
6   version = "2.9.1";
8   src = fetchFromGitHub {
9     owner = "o2sh";
10     repo = pname;
11     rev = "v${version}";
12     sha256 = "sha256-owa+HmzMXpLR7H1FssW4gQiVAQGJRXhcitgJj6pxJRc=";
13   };
15   cargoSha256 = "sha256-TqWe4eARQmmWcwnvb6BIZrzGeKMpiIObPv0cW1JvWj4=";
17   buildInputs = lib.optionals stdenv.isDarwin [ CoreFoundation libiconv libresolv Security ];
19   meta = with lib; {
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 ];
24   };