cargo-shuttle: 0.45.0 -> 0.47.0

This commit is contained in:
afresquet 2024-08-11 17:02:39 +02:00
parent 88b79e87b4
commit 99fef76181
No known key found for this signature in database
2 changed files with 723 additions and 614 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +1,23 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, zlib
, stdenv
, darwin
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
zlib,
stdenv,
darwin,
}:
rustPlatform.buildRustPackage rec {
pname = "cargo-shuttle";
version = "0.45.0";
version = "0.47.0";
src = fetchFromGitHub {
owner = "shuttle-hq";
repo = "shuttle";
rev = "v${version}";
hash = "sha256-bjGyLfeo11Y55WqPwcUxnNkexozlxC61/rSa65gBGZ4=";
hash = "sha256-AJ+7IUxi5SRRWw0EHh9JmQHkdQU3Mhd1Nmo1peEG2zg=";
};
cargoLock = {
@ -29,19 +30,22 @@ rustPlatform.buildRustPackage rec {
};
};
nativeBuildInputs = [
pkg-config
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
zlib
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.SystemConfiguration
];
buildInputs =
[
openssl
zlib
]
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.SystemConfiguration
];
cargoBuildFlags = [ "-p" "cargo-shuttle" ];
cargoBuildFlags = [
"-p"
"cargo-shuttle"
];
cargoTestFlags = cargoBuildFlags ++ [
# other tests are failing for different reasons