1 { lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
8 owner = "Daniel-Liu-c0deb0t";
11 sha256 = "sha256-MzXObbxccwEG7egmQMCdhUukGqZS+NgbYwZjTaqME7I=";
14 cargoHash = "sha256-1BoB7K/dWy3AbogvHIDLrdPD7K54EISvn4RVU5RLTi4=";
15 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
18 description = "Fast text uwuifier";
19 homepage = "https://github.com/Daniel-Liu-c0deb0t/uwu";
20 license = licenses.mit;
21 platforms = lib.platforms.x86; # uses SSE instructions
22 maintainers = with maintainers; [ siraben ];
23 mainProgram = "uwuify";