python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / octofetch / default.nix
blob3d2d2919aa56dabbfd1221974072f05430584f40
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , openssl
5 , pkg-config
6 , rustPlatform
7 , Security
8 }:
10 rustPlatform.buildRustPackage rec {
11   pname = "octofetch";
12   version = "0.3.3";
14   src = fetchFromGitHub {
15     owner = "azur1s";
16     repo = pname;
17     rev = version;
18     sha256 = "sha256-/AXE1e02NfxQzJZd0QX6gJDjmFFmuUTOndulZElgIMI=";
19   };
21   cargoSha256 = "sha256-iuhJYibyQ7hdeXzqCW2PLq7FiKnZp2VHyKT4qO/6vrU=";
23   nativeBuildInputs = [ pkg-config ];
25   buildInputs = lib.optionals stdenv.isLinux [ openssl ]
26     ++ lib.optionals stdenv.isDarwin [ Security ];
28   meta = with lib; {
29     homepage = "https://github.com/azur1s/octofetch";
30     description = "Github user information on terminal";
31     license = licenses.mit;
32     maintainers = with maintainers; [ jyooru ];
33   };