python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / owofetch / default.nix
blob4b312f0cea45b807f1b098cff7517aba9e40f6b9
1 { lib
2 , stdenvNoCC
3 , rustPlatform
4 , fetchFromGitHub
5 , Foundation
6 , DiskArbitration
7 }:
9 rustPlatform.buildRustPackage rec {
10   pname = "owofetch";
12   version = "0.3.1";
14   src = fetchFromGitHub {
15     owner = "netthier";
16     repo = "owofetch-rs";
17     rev = "v${version}";
18     sha256 = "sha256-I8mzOUvm72KLLBumpgn9gNyx9FKvUrB4ze1iM1+OA18=";
19   };
21   cargoSha256 = "sha256-rfN4QERs1H1G7ZZim//78vlxbYfU4Cx7SYYUz/QLKeU=";
23   buildInputs = lib.optionals stdenvNoCC.isDarwin [
24     Foundation
25     DiskArbitration
26   ];
28   meta = with lib; {
29     description = "Alternative to *fetch, uwuifies all stats";
30     homepage = "https://github.com/netthier/owofetch-rs";
31     license = licenses.gpl3Only;
32     platforms = platforms.x86_64;
33     maintainers = with maintainers; [ nullishamy ];
34   };