tu: init at 0.4.0

Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
Yiyu Zhou
2025-08-01 01:03:40 -07:00
co-authored by Aleksana
parent 64c8b7cef8
commit e488614329
+31
View File
@@ -0,0 +1,31 @@
{
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "tu";
version = "0.4.0";
src = fetchFromGitHub {
owner = "ad-si";
repo = "tu";
tag = "v${finalAttrs.version}";
hash = "sha256-ai3jzM5tAVc8goD188MPgtxPlrF3zOuvfNzGHSu5t4A=";
};
cargoHash = "sha256-tZilaezZfpIrN/aU/hN1i7lgeI98U/H9rgEny8PthY0=";
passthru.updateScript = nix-update-script { };
meta = {
description = "CLI tool to convert a natural language date/time string to UTC";
homepage = "https://github.com/ad-si/tu";
changelog = "https://github.com/ad-si/tu/blob/${finalAttrs.src.tag}/changelog.md";
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ yiyu ];
mainProgram = "tu";
};
})