Files
2026-05-21 19:46:32 +02:00

35 lines
604 B
Nix

{
lib,
bundlerApp,
bundlerUpdateScript,
runCommand,
sqlint,
}:
bundlerApp {
pname = "sqlint";
gemdir = ./.;
exes = [ "sqlint" ];
passthru = {
updateScript = bundlerUpdateScript "sqlint";
tests.help = runCommand "sqlint-help-test" { } ''
${sqlint}/bin/sqlint --help
touch $out
'';
};
meta = {
description = "Simple SQL linter";
homepage = "https://github.com/purcell/sqlint";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
ariutta
nicknovitski
purcell
];
platforms = lib.platforms.unix;
};
}