13 rustPlatform.buildRustPackage rec {
14 pname = "cargo-binstall";
17 src = fetchFromGitHub {
19 repo = "cargo-binstall";
21 hash = "sha256-a7EH6WvFJGzyFZ6qZEcMbo5JIsYhHWFMDB163g2Qges=";
24 cargoHash = "sha256-gpwC3mDJ+tAOTojFfOhKWjVUuHcKZm8kOPHPf71wRUI=";
36 ++ lib.optionals stdenv.hostPlatform.isDarwin [
37 darwin.apple_sdk.frameworks.SystemConfiguration
40 buildNoDefaultFeatures = true;
60 # requires internet access
61 "--skip=download::test::test_and_extract"
62 "--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_no_such_release"
63 "--skip=gh_api_client::test::test_gh_api_client_cargo_binstall_v0_20_1"
67 description = "Tool for installing rust binaries as an alternative to building from source";
68 mainProgram = "cargo-binstall";
69 homepage = "https://github.com/cargo-bins/cargo-binstall";
70 changelog = "https://github.com/cargo-bins/cargo-binstall/releases/tag/v${version}";
71 license = licenses.gpl3Only;
72 maintainers = with maintainers; [ figsoda ];