Merge pull request #203840 from aaronjheng/skeema
skeema: 1.8.2 -> 1.9.0
This commit is contained in:
commit
c49f0b22e1
1 changed files with 10 additions and 6 deletions
|
@ -1,17 +1,17 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub, coreutils }:
|
{ lib, buildGoModule, fetchFromGitHub, coreutils, runtimeShell, testers, skeema }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "skeema";
|
pname = "skeema";
|
||||||
version = "1.8.2";
|
version = "1.9.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "skeema";
|
owner = "skeema";
|
||||||
repo = "skeema";
|
repo = "skeema";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-PyQ5nLoJl3N/ewmHTZZHRLj9WV3EsUjL6fyESc8POss=";
|
hash = "sha256-mzxoA5oWX94EdiapSCgyC62RCffuutWzC1YKkGfJSEU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorSha256 = null;
|
vendorHash = null;
|
||||||
|
|
||||||
CGO_ENABLED = 0;
|
CGO_ENABLED = 0;
|
||||||
|
|
||||||
|
@ -36,10 +36,14 @@ buildGoModule rec {
|
||||||
--replace /bin/echo "${coreutils}/bin/echo" \
|
--replace /bin/echo "${coreutils}/bin/echo" \
|
||||||
--replace /usr/bin/printf "${coreutils}/bin/printf"
|
--replace /usr/bin/printf "${coreutils}/bin/printf"
|
||||||
|
|
||||||
substituteInPlace internal/util/shellout_unix_test.go \
|
substituteInPlace internal/util/shellout_unix.go \
|
||||||
--replace /bin/echo "${coreutils}/bin/echo"
|
--replace /bin/sh "${runtimeShell}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru.tests.version = testers.testVersion {
|
||||||
|
package = skeema;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Declarative pure-SQL schema management for MySQL and MariaDB";
|
description = "Declarative pure-SQL schema management for MySQL and MariaDB";
|
||||||
homepage = "https://skeema.io/";
|
homepage = "https://skeema.io/";
|
||||||
|
|
Loading…
Reference in a new issue