2021-03-26 05:57:15 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "uwuify";
|
2021-04-05 09:06:13 +02:00
|
|
|
version = "0.2.2";
|
2021-03-26 05:57:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Daniel-Liu-c0deb0t";
|
|
|
|
repo = "uwu";
|
|
|
|
rev = "v${version}";
|
2021-04-05 09:06:13 +02:00
|
|
|
sha256 = "sha256-MzXObbxccwEG7egmQMCdhUukGqZS+NgbYwZjTaqME7I=";
|
2021-03-26 05:57:15 +01:00
|
|
|
};
|
|
|
|
|
2021-04-05 09:06:13 +02:00
|
|
|
cargoSha256 = "sha256-iyoGLFIfHToOwqEb5lQ1nXR0W1gLOVMfvw39LX6ib+U=";
|
2021-03-26 05:57:15 +01:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ libiconv ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fast text uwuifier";
|
|
|
|
homepage = "https://github.com/Daniel-Liu-c0deb0t/uwu";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ siraben ];
|
|
|
|
};
|
|
|
|
}
|