2021-03-20 04:20:00 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "uwuify";
|
2021-04-08 16:26:57 +00:00
|
|
|
version = "0.2.2";
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Daniel-Liu-c0deb0t";
|
|
|
|
repo = "uwu";
|
|
|
|
rev = "v${version}";
|
2021-04-08 16:26:57 +00:00
|
|
|
sha256 = "sha256-MzXObbxccwEG7egmQMCdhUukGqZS+NgbYwZjTaqME7I=";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-1BoB7K/dWy3AbogvHIDLrdPD7K54EISvn4RVU5RLTi4=";
|
2024-09-26 11:04:55 +00:00
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv ];
|
2021-03-20 04:20:00 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fast text uwuifier";
|
|
|
|
homepage = "https://github.com/Daniel-Liu-c0deb0t/uwu";
|
|
|
|
license = licenses.mit;
|
2021-12-06 16:07:01 +00:00
|
|
|
platforms = lib.platforms.x86; # uses SSE instructions
|
2021-03-20 04:20:00 +00:00
|
|
|
maintainers = with maintainers; [ siraben ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "uwuify";
|
2021-03-20 04:20:00 +00:00
|
|
|
};
|
|
|
|
}
|