15 src = fetchFromGitHub {
19 hash = "sha256-XfzCJOr0lOkimUKbOW0+qFNQMmYc0DBgi+0ItmEOjwE=";
22 buildInputs = [ unixODBC icu ];
24 vendorHash = "sha256-sijt6YOp1pFNhaxLIOLH90Z5ODVbWFj/mp8Csx8n+ac=";
27 # Exclude broken genji, hive & impala drivers (bad group)
28 # These drivers break too often and are not used.
30 # See https://github.com/xo/usql/pull/347
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; [ georgyo anthonyroussel ];
77 platforms = with platforms; linux ++ darwin;