Unverified Commit 6bdd104c authored by Pierre Bourdon's avatar Pierre Bourdon Committed by GitHub
Browse files

Merge pull request #273172 from benmanns/chore/update_dioxus-cli_0.4.3

dioxus-cli: 0.4.1 -> 0.4.3
parents 04c5ceb3 022fc378
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -12,14 +12,14 @@

rustPlatform.buildRustPackage rec {
  pname = "dioxus-cli";
  version = "0.4.1";
  version = "0.4.3";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-h2l6SHty06nLNbdlnSzH7I4XY53yyxNbx663cHYmPG0=";
    hash = "sha256-TWcuEobYH2xpuwB1S63HoP/WjH3zHXTnlXXvOcYIZG8=";
  };

  cargoHash = "sha256-3pFkEC1GAJmTqXAymX4WRIq7EEtY17u1TCg+OhqL3bA=";
  cargoHash = "sha256-ozbGK46uq3qXZifyTY7DDX1+vQuDJuSOJZw35vwcuxY=";

  nativeBuildInputs = [ pkg-config cacert ];
  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
@@ -34,6 +34,16 @@ rustPlatform.buildRustPackage rec {
    "--skip=server::web::proxy::test::add_proxy_trailing_slash"
  ];

  # Omitted: --doc
  # Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved
  # Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108
  cargoTestFlags = [
    "--lib"
    "--bins"
    "--tests"
    "--examples"
  ];

  passthru.tests.version = testers.testVersion {
    package = dioxus-cli;
    command = "${meta.mainProgram} --version";