16 src = fetchFromGitHub {
20 hash = "sha256-zV/6AIglY1tEeOe2bYZqpOOkuS8O+YklXkwsDidap0U=";
28 vendorHash = "sha256-NTbsyoKL5lyY7sUjmKFGH1USCGa1EwtjWOhxQEohQr4=";
31 # Exclude drivers from the bad group
32 # These drivers break too often and are not used.
38 # These tags and flags are copied from build.sh
45 "sqlite_math_functions"
55 "-X github.com/xo/usql/text.CommandVersion=${version}"
58 # All the checks currently require docker instances to run the databases.
62 updateScript = nix-update-script { };
63 tests.version = testers.testVersion {
66 command = "usql --version";
71 description = "Universal command-line interface for SQL databases";
72 homepage = "https://github.com/xo/usql";
73 changelog = "https://github.com/xo/usql/releases/tag/v${version}";
74 license = licenses.mit;
76 maintainers = with maintainers; [
80 platforms = with platforms; linux ++ darwin;