11 rustPlatform.buildRustPackage rec {
12 pname = "cargo-shuttle";
15 src = fetchFromGitHub {
19 hash = "sha256-U6C6pUl6Re3fYt5KlBItpErboYXctsotunsUpWmZxiY=";
23 lockFile = ./Cargo.lock;
25 "async-posthog-0.2.3" = "sha256-V0f9+UKZkqh80p7UjINEbAW9y8cKBmJTRjAJZV3no1M=";
26 "hyper-reverse-proxy-0.5.2-dev" = "sha256-R1ZXGgWvwHWRHmKX823QLqM6ZJW+tzWUXigKkAyI5OE=";
27 "tokiotest-httpserver-0.2.1" = "sha256-IPUaglIDwCUoczCCnX+R1IBqtc0s8b8toKEL8zN3/i8=";
38 ] ++ lib.optionals stdenv.isDarwin [
39 darwin.apple_sdk.frameworks.CoreServices
40 darwin.apple_sdk.frameworks.SystemConfiguration
43 cargoBuildFlags = [ "-p" "cargo-shuttle" ];
45 cargoTestFlags = cargoBuildFlags ++ [
46 # other tests are failing for different reasons
47 "init::shuttle_init_tests::"
51 description = "A cargo command for the shuttle platform";
52 mainProgram = "cargo-shuttle";
53 homepage = "https://shuttle.rs";
54 changelog = "https://github.com/shuttle-hq/shuttle/releases/tag/${src.rev}";
55 license = licenses.asl20;
56 maintainers = with maintainers; [ figsoda ];