1 { lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config
2 , openssl, libiconv, CoreServices, Security }:
4 rustPlatform.buildRustPackage rec {
8 src = fetchFromGitHub {
12 sha256 = "sha256-A6h8TmYK5WOcmANk/uM9QO1h767BWASWTwLthtKqrEk=";
15 nativeBuildInputs = [ pkg-config ];
16 buildInputs = if stdenv.isDarwin
17 then [ libiconv CoreServices Security ]
21 checkFlags = [ "--skip=tools::tests::download_and_install_binaries" ];
23 cargoHash = "sha256-+jz0J1qFK2fZ4OX089pgNtT2vfiOTf39qQjeXmLoFNs=";
26 homepage = "https://github.com/thedodd/trunk";
27 description = "Build, bundle & ship your Rust WASM application to the web";
28 maintainers = with maintainers; [ freezeboy ];
29 license = with licenses; [ asl20 ];