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

dioxus-cli: 0.4.1 -> 0.4.3
This commit is contained in:
Pierre Bourdon 2023-12-10 22:17:25 +01:00 committed by GitHub
commit 6bdd104c71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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";