turso: 0.4.0 -> 0.6.0
Co-authored-by: GaetanLepage <gaetan@glepage.com>
This commit is contained in:
co-authored by
GaetanLepage
parent
fd354e350c
commit
7ab5bf6ba1
@@ -7,33 +7,35 @@
|
||||
}:
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "turso";
|
||||
version = "0.4.0";
|
||||
version = "0.6.0";
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tursodatabase";
|
||||
repo = "turso";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-94ow9LUouifdE3ml2iyo72Y0nQSSLfnU5qnNHiJHqKw=";
|
||||
hash = "sha256-uOrvQZ16TlgRFt7kiKIPMT84S07PArVdw6OWzDt7rD8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-c6PIrbRclU/l7wuhOIANBgCnRu2Y/UoUeZA/eg13KoA=";
|
||||
cargoHash = "sha256-Go+KAU4xz4DO585afx7tKpyWY/Glz6ZAETd0p3uOGiE=";
|
||||
|
||||
cargoBuildFlags = [
|
||||
"-p"
|
||||
"turso_cli"
|
||||
"--bin"
|
||||
"tursodb"
|
||||
];
|
||||
|
||||
cargoTestFlags = finalAttrs.cargoBuildFlags;
|
||||
|
||||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^v([0-9.]+)$" ]; };
|
||||
|
||||
meta = {
|
||||
description = "Interactive SQL shell for Turso";
|
||||
homepage = "https://github.com/tursodatabase/turso";
|
||||
changelog = "https://github.com/tursodatabase/turso/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/tursodatabase/turso/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nartsiss ];
|
||||
mainProgram = "tursodb";
|
||||
|
||||
Reference in New Issue
Block a user