oxvg: init at 0.0.5

Assisted-by: OpenAI Codex (GPT-5)
This commit is contained in:
Tyce Herrman
2026-07-02 10:47:34 -04:00
parent 162a408ae9
commit 00f9c93035
+33
View File
@@ -0,0 +1,33 @@
{
lib,
fetchCrate,
nix-update-script,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "oxvg";
version = "0.0.5";
__structuredAttrs = true;
src = fetchCrate {
inherit (finalAttrs) pname version;
hash = "sha256-I52L0cbj7BYdHVVhJEdhT28DRTg/f7eWpN0qGxfSdhQ=";
};
cargoHash = "sha256-+dfM2/SjUTwNAoKC7cjw2Ba1RNp6BwmbR1TxXtp9W4E=";
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
passthru.updateScript = nix-update-script { };
meta = {
description = "Vector image toolchain";
homepage = "https://github.com/noahbald/oxvg";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tyceherrman ];
mainProgram = "oxvg";
};
})