15 src = fetchFromGitHub {
19 hash = "sha256-VenqDYkBJ4XJ2zV7kaVvwlgDyCaTY77zQ5hPq5cOZKg=";
22 buildInputs = [ unixODBC icu ];
24 vendorHash = "sha256-KdLUxgNGMkkWBhUpXSecu0m3fsKl7Qj8Aw3z8WcdnSs=";
27 # Exclude drivers from the bad group
28 # These drivers break too often and are not used.
34 # These tags and flags are copied from build.sh
41 "sqlite_math_functions"
51 "-X github.com/xo/usql/text.CommandVersion=${version}"
54 # All the checks currently require docker instances to run the databases.
58 updateScript = nix-update-script { };
59 tests.version = testers.testVersion {
62 command = "usql --version";
67 description = "Universal command-line interface for SQL databases";
68 homepage = "https://github.com/xo/usql";
69 changelog = "https://github.com/xo/usql/releases/tag/v${version}";
70 license = licenses.mit;
72 maintainers = with maintainers; [ georgyo anthonyroussel ];
73 platforms = with platforms; linux ++ darwin;