sqlx-cli: 0.6.2 -> 0.7.0
This commit is contained in:
parent
233a8f00a3
commit
4c2141f91a
1 changed files with 3 additions and 13 deletions
|
@ -2,7 +2,6 @@
|
|||
, lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, pkg-config
|
||||
, openssl
|
||||
, SystemConfiguration
|
||||
|
@ -15,25 +14,16 @@
|
|||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "sqlx-cli";
|
||||
version = "0.6.2";
|
||||
version = "0.7.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "launchbadge";
|
||||
repo = "sqlx";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-pQlrKjhOJfjNEmLxqnFmmBY1naheZUsaq2tGdLKGxjg=";
|
||||
hash = "sha256-f9DCavvqq/a+1wusKlc3jOjyFRVMIAHGCryZxV5qews=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/launchbadge/sqlx/pull/2228
|
||||
(fetchpatch {
|
||||
name = "fix-rust-1.65-compile.patch";
|
||||
url = "https://github.com/launchbadge/sqlx/commit/2fdf85b212332647dc4ac47e087df946151feedf.patch";
|
||||
hash = "sha256-5BCuIwmECe9qQrdYll7T+UOGwuTBolWEhKNE7GcZqJw=";
|
||||
})
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-AbA8L7rkyZfKW0vvjyrcW5eU6jGD+zAqIcEUOJmeqJs=";
|
||||
cargoHash = "sha256-9vbrehtfw6ctIF7uXZPvODx3kkxz+m9h2Uv+2t45I0w=";
|
||||
|
||||
doCheck = false;
|
||||
cargoBuildFlags = [ "-p sqlx-cli" ];
|
||||
|
|
Loading…
Reference in a new issue