diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index dfae715bcd38..adbdee3fdaf3 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -20309,6 +20309,12 @@ githubId = 4242897; name = "Nikolai Mishin"; }; + nmoya = { + email = "nikolasmoya@gmail.com"; + github = "nmoya"; + githubId = 1767648; + name = "Nikolas Moya"; + }; noaccos = { name = "Francesco Noacco"; email = "francesco.noacco2000@gmail.com"; diff --git a/pkgs/by-name/vp/vpxtool/package.nix b/pkgs/by-name/vp/vpxtool/package.nix new file mode 100644 index 000000000000..5180b0d7fdff --- /dev/null +++ b/pkgs/by-name/vp/vpxtool/package.nix @@ -0,0 +1,37 @@ +{ + lib, + fetchFromGitHub, + nix-update-script, + rustPlatform, + versionCheckHook, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "vpxtool"; + version = "0.33.4"; + __structuredAttrs = true; + + src = fetchFromGitHub { + owner = "francisdb"; + repo = "vpxtool"; + tag = "v${finalAttrs.version}"; + hash = "sha256-bXKfXBm1y4cdGvNQA8InYdsxOo4GJzSX5w24QUkeHs8="; + }; + + cargoHash = "sha256-07Muapi8zILczLgCSP/+mEqynm8Abc6EclVX4eDVZmw="; + + nativeInstallCheckInputs = [ versionCheckHook ]; + + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Terminal based frontend and utilities for Visual Pinball"; + homepage = "https://github.com/francisdb/vpxtool"; + changelog = "https://github.com/francisdb/vpxtool/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ nmoya ]; + mainProgram = "vpxtool"; + }; +})