12 src = fetchFromGitHub {
16 hash = "sha256-F/eOD7/w8HjJBeiXagaf4yBLZcZVuy93rfVFeSESlZo=";
19 vendorHash = "sha256-7rMCqTfUs89AX0VP689BmKsuvLJWU5ANJVki+JMVf7g=";
21 buildInputs = [ unixODBC icu ];
23 # Exclude broken impala driver
24 # The driver breaks too often and is not used.
26 # See https://github.com/xo/usql/pull/347
32 # These tags and flags are copied from build-release.sh
49 "-X github.com/xo/usql/text.CommandVersion=${version}"
52 # All the checks currently require docker instances to run the databases.
56 description = "Universal command-line interface for SQL databases";
57 homepage = "https://github.com/xo/usql";
58 license = licenses.mit;
59 maintainers = with maintainers; [ georgyo anthonyroussel ];
60 platforms = with platforms; linux ++ darwin;