sqlx-cli: 0.7.1 -> 0.7.3
This commit is contained in:
parent
f36e11d259
commit
52724e2cb9
1 changed files with 19 additions and 4 deletions
|
@ -15,19 +15,34 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "sqlx-cli";
|
pname = "sqlx-cli";
|
||||||
version = "0.7.1";
|
version = "0.7.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "launchbadge";
|
owner = "launchbadge";
|
||||||
repo = "sqlx";
|
repo = "sqlx";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-567/uJPQhrNqDqBF/PqklXm2avSjvtQsddjChwUKUCI=";
|
hash = "sha256-AKVNyuV9jwzmsy6tHkGkLj1fhVT8XYvEn2Ip2wCKDxI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoHash = "sha256-X7fLbih1s3sxn8vb2kQeFUKDK2DlC+sjm9ZTwj3FD1Y=";
|
cargoHash = "sha256-F3FLu/n57F8psk+d0Hf+HnqV/DvEFQwRefu/4C8A1sU=";
|
||||||
|
|
||||||
|
# Prepare the Cargo.lock for offline use.
|
||||||
|
# See https://github.com/NixOS/nixpkgs/issues/261412
|
||||||
|
postConfigure = ''
|
||||||
|
cargo metadata --offline > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildNoDefaultFeatures = true;
|
||||||
|
buildFeatures = [
|
||||||
|
"native-tls"
|
||||||
|
"postgres"
|
||||||
|
"sqlite"
|
||||||
|
"mysql"
|
||||||
|
"completions"
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
cargoBuildFlags = [ "--package sqlx-cli --no-default-features --features native-tls,postgres,sqlite,mysql,completions" ];
|
cargoBuildFlags = [ "--package sqlx-cli" ];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
installShellFiles
|
installShellFiles
|
||||||
|
|
Loading…
Reference in a new issue