summary refs log tree commit diff
path: root/pkgs/tools/system
diff options
context:
space:
mode:
authorAaron Jheng <wentworth@outlook.com>2022-12-01 00:44:39 +0000
committerAaron Jheng <wentworth@outlook.com>2022-12-01 01:32:04 +0000
commitffd251aec3eec6fa349d7c85c144d5e5832c5e12 (patch)
tree9f8873c2e6c7e8bab80dc4d7b77cd8f5959d9747 /pkgs/tools/system
parentadcf1b105b3783483f982a52337822f0320fb949 (diff)
downloadnixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar.gz
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar.bz2
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar.lz
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar.xz
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.tar.zst
nixpkgs-ffd251aec3eec6fa349d7c85c144d5e5832c5e12.zip
skeema: 1.8.2 -> 1.9.0
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r--pkgs/tools/system/skeema/default.nix16
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/tools/system/skeema/default.nix b/pkgs/tools/system/skeema/default.nix
index 7ee2ff0bf71..6faf5172ca7 100644
--- a/pkgs/tools/system/skeema/default.nix
+++ b/pkgs/tools/system/skeema/default.nix
@@ -1,17 +1,17 @@
-{ lib, buildGoModule, fetchFromGitHub, coreutils }:
+{ lib, buildGoModule, fetchFromGitHub, coreutils, runtimeShell, testers, skeema }:
 
 buildGoModule rec {
   pname = "skeema";
-  version = "1.8.2";
+  version = "1.9.0";
 
   src = fetchFromGitHub {
     owner = "skeema";
     repo = "skeema";
     rev = "v${version}";
-    sha256 = "sha256-PyQ5nLoJl3N/ewmHTZZHRLj9WV3EsUjL6fyESc8POss=";
+    hash = "sha256-mzxoA5oWX94EdiapSCgyC62RCffuutWzC1YKkGfJSEU=";
   };
 
-  vendorSha256 = null;
+  vendorHash = null;
 
   CGO_ENABLED = 0;
 
@@ -36,10 +36,14 @@ buildGoModule rec {
       --replace /bin/echo "${coreutils}/bin/echo" \
       --replace /usr/bin/printf "${coreutils}/bin/printf"
 
-    substituteInPlace internal/util/shellout_unix_test.go \
-      --replace /bin/echo "${coreutils}/bin/echo"
+    substituteInPlace internal/util/shellout_unix.go \
+      --replace /bin/sh "${runtimeShell}"
   '';
 
+  passthru.tests.version = testers.testVersion {
+    package = skeema;
+  };
+
   meta = with lib; {
     description = "Declarative pure-SQL schema management for MySQL and MariaDB";
     homepage = "https://skeema.io/";