sqlx-cli: 0.8.6 -> 0.9.0 (#525891)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
stdenv,
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
fetchCrate,
|
||||
installShellFiles,
|
||||
pkg-config,
|
||||
openssl,
|
||||
@@ -14,16 +14,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "sqlx-cli";
|
||||
version = "0.8.6";
|
||||
version = "0.9.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "launchbadge";
|
||||
repo = "sqlx";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-Trnyrc17KWhX8QizKyBvXhTM7HHEqtywWgNqvQNMOAY=";
|
||||
# Upstream stopped shipping a Cargo.lock starting with the v0.9.0 release
|
||||
# https://github.com/transact-rs/sqlx/blob/v0.9.0/CHANGELOG.md#cargolock-removed-from-tracking
|
||||
src = fetchCrate {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-XariusjsCgn0Qai0XWtr7EzSzDDTp1cCzjff1kJNO9Y=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-FxvzCe+dRfMUcPWA4lp4L6FJaSpMiXTqEyhzk+Dv1B8=";
|
||||
cargoHash = "sha256-pHaMKuB9v3fjbgeVyLyRtfoQ9BkE6z+TjDfdBaVdbXM=";
|
||||
|
||||
buildNoDefaultFeatures = true;
|
||||
buildFeatures = [
|
||||
@@ -32,11 +32,9 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
"sqlite"
|
||||
"mysql"
|
||||
"completions"
|
||||
"sqlx-toml"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
cargoBuildFlags = [ "--package sqlx-cli" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
pkg-config
|
||||
@@ -66,7 +64,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "CLI for managing databases, migrations, and enabling offline mode with `sqlx::query!()` and friends";
|
||||
homepage = "https://github.com/launchbadge/sqlx";
|
||||
homepage = "https://github.com/transact-rs/sqlx";
|
||||
changelog = "https://github.com/transact-rs/sqlx/blob/v${finalAttrs.version}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
greizgh
|
||||
|
||||
Reference in New Issue
Block a user