Skip to content

Commit

Permalink
dioxus-cli: 0.5.7 -> 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CathalMullan committed Dec 11, 2024
1 parent 6400e8d commit 9fbce35
Showing 1 changed file with 31 additions and 23 deletions.
54 changes: 31 additions & 23 deletions pkgs/by-name/di/dioxus-cli/package.nix
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
{ lib
, stdenv
, fetchCrate
, rustPlatform
, pkg-config
, rustfmt
, cacert
, openssl
, darwin
, nix-update-script
, testers
, dioxus-cli
{
lib,
stdenv,
fetchCrate,
rustPlatform,
pkg-config,
rustfmt,
cacert,
openssl,
nix-update-script,
testers,
dioxus-cli,
}:

rustPlatform.buildRustPackage rec {
pname = "dioxus-cli";
version = "0.5.7";
version = "0.6.0";

src = fetchCrate {
inherit pname version;
hash = "sha256-/LeMh5WX4dvkveu5w6qBQLbtoi5yUW6iad0YatA/tMQ=";
hash = "sha256-0Kg2/+S8EuMYZQaK4Ao+mbS7K48VhVWjPL+LnoVJMSw=";
};

cargoHash = "sha256-D6y2NiFqSf0u6icSKCRZK7ycR+GswOX627M7PEy/D6U=";
cargoHash = "sha256-RMo6q/GSAV1bCMWtR+wu9xGKCgz/Ie6t/8oirBly/LQ=";
buildFeatures = [ "optimizations" ];

nativeBuildInputs = [ pkg-config cacert ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.CoreServices
darwin.apple_sdk.frameworks.SystemConfiguration
nativeBuildInputs = [
pkg-config
cacert
];

buildInputs = [ openssl ];

OPENSSL_NO_VENDOR = 1;

nativeCheckInputs = [ rustfmt ];

checkFlags = [
# requires network access
"--skip=server::web::proxy::test::add_proxy"
"--skip=server::web::proxy::test::add_proxy_trailing_slash"
"--skip=serve::proxy::test"
];

passthru = {
Expand All @@ -47,8 +48,15 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
homepage = "https://dioxuslabs.com";
description = "CLI tool for developing, testing, and publishing Dioxus apps";
license = with licenses; [ mit asl20 ];
maintainers = with maintainers; [ xanderio cathalmullan ];
changelog = "https://github.com/DioxusLabs/dioxus/releases";
license = with licenses; [
mit
asl20
];
maintainers = with maintainers; [
xanderio
cathalmullan
];
mainProgram = "dx";
};
}

0 comments on commit 9fbce35

Please sign in to comment.