pomsky: add nix-update-script (#521540)

This commit is contained in:
Michael Daniels
2026-05-18 21:53:49 +00:00
committed by GitHub
+12 -2
View File
@@ -4,6 +4,8 @@
fetchFromGitHub,
pkg-config,
oniguruma,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -32,9 +34,17 @@ rustPlatform.buildRustPackage (finalAttrs: {
RUSTONIG_SYSTEM_LIBONIG = true;
};
# thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: invalid option '--test-threads''
# Compatibility tests run against different regex implementations.
# Some can be run by providing `jdk*_headless` and `python3` `nativeCheckInputs`,
# while some cannot, i.e. `deno`-based requires network access and `dotnet-script` is not packaged,
# and they cannot be disabled partially.
doCheck = false;
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Portable, modern regular expression language";
mainProgram = "pomsky";
@@ -44,6 +54,6 @@ rustPlatform.buildRustPackage (finalAttrs: {
mit # or
asl20
];
maintainers = [ ];
maintainers = [ lib.maintainers.progrm_jarvis ];
};
})