nixpkgs/pkgs/tools/misc/uwuify/default.nix
2021-03-26 19:06:23 +07:00

24 lines
651 B
Nix

{ lib, stdenv, fetchFromGitHub, rustPlatform, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "uwuify";
version = "0.2.1";
src = fetchFromGitHub {
owner = "Daniel-Liu-c0deb0t";
repo = "uwu";
rev = "v${version}";
sha256 = "sha256-tPmLqgrWi7wDoMjMrxodKp4S0ICwV9Kp7Pa151rHho0=";
};
cargoSha256 = "sha256-HUP6OEvoGJ/BtAl+yuGzqEp1bsxfGAh0UJtXz9/ZiK8=";
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 ];
};
}