15 rustPlatform.buildRustPackage rec {
20 inherit pname version;
21 hash = "sha256-/LeMh5WX4dvkveu5w6qBQLbtoi5yUW6iad0YatA/tMQ=";
24 cargoHash = "sha256-D6y2NiFqSf0u6icSKCRZK7ycR+GswOX627M7PEy/D6U=";
26 nativeBuildInputs = [ pkg-config cacert ];
27 buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
28 darwin.apple_sdk.frameworks.CoreServices
29 darwin.apple_sdk.frameworks.SystemConfiguration
32 OPENSSL_NO_VENDOR = 1;
34 nativeCheckInputs = [ rustfmt ];
37 # requires network access
38 "--skip=server::web::proxy::test::add_proxy"
39 "--skip=server::web::proxy::test::add_proxy_trailing_slash"
43 updateScript = nix-update-script { };
44 tests.version = testers.testVersion { package = dioxus-cli; };
48 homepage = "https://dioxuslabs.com";
49 description = "CLI tool for developing, testing, and publishing Dioxus apps";
50 license = with licenses; [ mit asl20 ];
51 maintainers = with maintainers; [ xanderio cathalmullan ];