at 23.11-beta 35 lines 776 B view raw
1{ lib 2, stdenvNoCC 3, rustPlatform 4, fetchFromGitHub 5, Foundation 6, DiskArbitration 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "owofetch"; 11 12 version = "0.3.1"; 13 14 src = fetchFromGitHub { 15 owner = "netthier"; 16 repo = "owofetch-rs"; 17 rev = "v${version}"; 18 sha256 = "sha256-I8mzOUvm72KLLBumpgn9gNyx9FKvUrB4ze1iM1+OA18="; 19 }; 20 21 cargoSha256 = "sha256-rfN4QERs1H1G7ZZim//78vlxbYfU4Cx7SYYUz/QLKeU="; 22 23 buildInputs = lib.optionals stdenvNoCC.isDarwin [ 24 Foundation 25 DiskArbitration 26 ]; 27 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 }; 35}