14 rustPlatform.buildRustPackage rec {
19 inherit pname version;
20 hash = "sha256-rfftCJW3MRDg7a2WUDXZWGx1lYmOkqVRcJTEGMObars=";
23 cargoHash = "sha256-cpgjs8ZxpJrnA5UtoVoP97VFfmQ7CS1H74D19x0bzAA=";
25 nativeBuildInputs = [ pkg-config cacert ];
26 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
27 darwin.apple_sdk.frameworks.CoreServices
28 darwin.apple_sdk.frameworks.SystemConfiguration
31 OPENSSL_NO_VENDOR = 1;
33 nativeCheckInputs = [ rustfmt ];
36 # requires network access
37 "--skip=server::web::proxy::test::add_proxy"
38 "--skip=server::web::proxy::test::add_proxy_trailing_slash"
41 passthru.tests.version = testers.testVersion {
43 command = "${meta.mainProgram} --version";
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 ];