16 rustPlatform.buildRustPackage rec {
20 src = fetchFromGitHub {
24 hash = "sha256-BW71yFX4jfx90KHdynkGSqWD4diyjEBQfdBNquVdDDI=";
27 cargoHash = "sha256-iUVOU1P996hLC1rR/wWtsDBkKSB0rD7PPh6ZsQkHq3I=";
39 ] ++ lib.optionals stdenv.isDarwin [
40 darwin.apple_sdk.frameworks.CoreFoundation
41 darwin.apple_sdk.frameworks.Security
42 darwin.apple_sdk.frameworks.SystemConfiguration
46 OPENSSL_NO_VENDOR = true;
47 ZSTD_SYS_USE_PKG_CONFIG = true;
51 export HOME=$(mktemp -d)
56 "--skip=toolchain::rust::tests::test_xtensa_rust_parse_version"
60 installShellCompletion --cmd espup \
61 --bash <($out/bin/espup completions bash) \
62 --fish <($out/bin/espup completions fish) \
63 --zsh <($out/bin/espup completions zsh)
66 passthru.tests.version = testers.testVersion {
71 description = "Tool for installing and maintaining Espressif Rust ecosystem.";
72 homepage = "https://github.com/esp-rs/espup/";
73 license = with licenses; [ mit asl20 ];
74 maintainers = with maintainers; [ knightpp beeb ];
75 mainProgram = "espup";