diff --git a/pkgs/development/tools/rust/dioxus-cli/default.nix b/pkgs/development/tools/rust/dioxus-cli/default.nix new file mode 100644 index 000000000000..40cef21c476e --- /dev/null +++ b/pkgs/development/tools/rust/dioxus-cli/default.nix @@ -0,0 +1,22 @@ +{ fetchCrate, lib, rustPlatform, openssl, pkg-config }: +rustPlatform.buildRustPackage rec { + pname = "dioxus-cli"; + version = "0.1.4"; + + src = fetchCrate { + inherit pname version; + sha256 = "sha256-SnmDOMxc+39LX6kOzma2zA6T91UGCnvr7WWhX+wXnLo="; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ openssl ]; + + cargoSha256 = "sha256-Mf/WtOO/vFuhg90DoPDwOZ6XKj423foHZ8vHugXakb0="; + + meta = with lib; { + description = "CLI tool for developing, testing, and publishing Dioxus apps"; + homepage = "https://dioxuslabs.com"; + license = with licenses; [ mit asl20 ]; + maintainers = with maintainers; [ xanderio ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b066c4f76dd4..ba90a7dd796d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16453,6 +16453,8 @@ with pkgs; dive = callPackage ../development/tools/dive { }; + dioxus-cli = callPackage ../development/tools/rust/dioxus-cli { }; + doclifter = callPackage ../development/tools/misc/doclifter { }; docutils = with python3Packages; toPythonApplication docutils;