about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2022-09-13 07:38:23 +0200
committerGitHub <noreply@github.com>2022-09-13 07:38:23 +0200
commit01ac013ae186ae8fc5c1aecdaac77450bb79de1f (patch)
tree814e053d65f4fb4582be8cad6a7d49bbc99bf34e
parent7cd86e7b9a5ee32f80711b7f70645e2dfd0f15f4 (diff)
parentcbb334055707102ed5f762d732420eb6c57cbfc7 (diff)
downloadnixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar.gz
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar.bz2
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar.lz
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar.xz
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.tar.zst
nixlib-01ac013ae186ae8fc5c1aecdaac77450bb79de1f.zip
Merge pull request #190977 from anthonyroussel/usql-0.12.13
usql: 0.12.0 -> 0.12.13
-rw-r--r--pkgs/applications/misc/usql/default.nix21
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/applications/misc/usql/default.nix b/pkgs/applications/misc/usql/default.nix
index edd1bd588dc7..cc02a5d1c899 100644
--- a/pkgs/applications/misc/usql/default.nix
+++ b/pkgs/applications/misc/usql/default.nix
@@ -7,19 +7,28 @@
 
 buildGoModule rec {
   pname = "usql";
-  version = "0.12.0";
+  version = "0.12.13";
 
   src = fetchFromGitHub {
     owner = "xo";
     repo = "usql";
     rev = "v${version}";
-    sha256 = "sha256-OOu3zWK/ccmaEVriXKl7SZUJLLYaJB3tgF+eR9p+TmM=";
+    hash = "sha256-F/eOD7/w8HjJBeiXagaf4yBLZcZVuy93rfVFeSESlZo=";
   };
 
-  vendorSha256 = "sha256-9XyG0Fu3idxGG01MoBr5BMoQSz+dyZFEXRNvvb+XWjA=";
+  vendorHash = "sha256-7rMCqTfUs89AX0VP689BmKsuvLJWU5ANJVki+JMVf7g=";
 
   buildInputs = [ unixODBC icu ];
 
+  # Exclude broken impala driver
+  # The driver breaks too often and is not used.
+  #
+  # See https://github.com/xo/usql/pull/347
+  #
+  excludedPackages = [
+    "impala"
+  ];
+
   # These tags and flags are copied from build-release.sh
   tags = [
     "most"
@@ -47,9 +56,7 @@ buildGoModule rec {
     description = "Universal command-line interface for SQL databases";
     homepage = "https://github.com/xo/usql";
     license = licenses.mit;
-    maintainers = with maintainers; [ georgyo ];
-    # usql does not build on ARM.
-    platforms = [ "x86_64-linux" "x86_64-darwin" ];
+    maintainers = with maintainers; [ georgyo anthonyroussel ];
+    platforms = with platforms; linux ++ darwin;
   };
-
 }