diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index bcb3219ebeca..825d85f95ef1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -28858,6 +28858,12 @@ github = "TyberiusPrime"; githubId = 1257580; }; + tyceherrman = { + email = "Tyce.Herrman@pm.me"; + github = "TyceHerrman"; + githubId = 22066434; + name = "Tyce Herrman"; + }; tye-exe = { name = "Tye"; email = "nixpkgs-fr@tye-home.xyz"; diff --git a/pkgs/by-name/ox/oxvg/package.nix b/pkgs/by-name/ox/oxvg/package.nix new file mode 100644 index 000000000000..b3b9a54df0cc --- /dev/null +++ b/pkgs/by-name/ox/oxvg/package.nix @@ -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"; + }; +})