diff --git a/pkgs/development/tools/rust/dioxus-cli/default.nix b/pkgs/development/tools/rust/dioxus-cli/default.nix index b1756e62ee6e..def31b1ce478 100644 --- a/pkgs/development/tools/rust/dioxus-cli/default.nix +++ b/pkgs/development/tools/rust/dioxus-cli/default.nix @@ -1,17 +1,24 @@ -{ lib, fetchCrate, rustPlatform, openssl, pkg-config, stdenv, CoreServices }: +{ lib, fetchCrate, rustPlatform, openssl, pkg-config, cacert, stdenv, CoreServices }: rustPlatform.buildRustPackage rec { pname = "dioxus-cli"; - version = "0.1.4"; + version = "0.3.2"; src = fetchCrate { inherit pname version; - sha256 = "sha256-SnmDOMxc+39LX6kOzma2zA6T91UGCnvr7WWhX+wXnLo="; + sha256 = "sha256-8S8zUOb2oiXbJQRgY/g9H2+EW+wWOQugr8+ou34CYPg="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config cacert ]; buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ CoreServices ]; - cargoSha256 = "sha256-Mf/WtOO/vFuhg90DoPDwOZ6XKj423foHZ8vHugXakb0="; + cargoSha256 = "sha256-sCP8njwYA29XmYu2vfuog0NCL1tZlsZiupkDVImrYCE="; + + checkFlags = [ + # these tests require dioxous binary in PATH, + # can be removed after: https://github.com/DioxusLabs/dioxus/pull/1138 + "--skip=cli::autoformat::spawn_properly" + "--skip=cli::translate::generates_svgs" + ]; meta = with lib; { description = "CLI tool for developing, testing, and publishing Dioxus apps";