depot/third_party/nixpkgs/pkgs/development/tools/rust/dioxus-cli/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

22 lines
717 B
Nix

{ lib, fetchCrate, rustPlatform, openssl, pkg-config, stdenv, CoreServices }:
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 ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
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 ];
};
}