mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
dioxus-cli: 0.1.4 -> 0.3.2
* update src * add cacert as native dependecy (via rustls) * skip tests that require bin: https://github.com/DioxusLabs/dioxus/pull/1138
This commit is contained in:
parent
c16abd6c72
commit
092f229412
@ -1,17 +1,24 @@
|
||||
{ lib, fetchCrate, rustPlatform, openssl, pkg-config, stdenv, CoreServices }:
|
||||
{ lib, fetchCrate, rustPlatform, openssl, pkg-config, cacert, stdenv, CoreServices }:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "dioxus-cli";
|
||||
version = "0.1.4";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchCrate {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-SnmDOMxc+39LX6kOzma2zA6T91UGCnvr7WWhX+wXnLo=";
|
||||
sha256 = "sha256-8S8zUOb2oiXbJQRgY/g9H2+EW+wWOQugr8+ou34CYPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config cacert ];
|
||||
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
cargoSha256 = "sha256-Mf/WtOO/vFuhg90DoPDwOZ6XKj423foHZ8vHugXakb0=";
|
||||
cargoSha256 = "sha256-sCP8njwYA29XmYu2vfuog0NCL1tZlsZiupkDVImrYCE=";
|
||||
|
||||
checkFlags = [
|
||||
# these tests require dioxous binary in PATH,
|
||||
# can be removed after: https://github.com/DioxusLabs/dioxus/pull/1138
|
||||
"--skip=cli::autoformat::spawn_properly"
|
||||
"--skip=cli::translate::generates_svgs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CLI tool for developing, testing, and publishing Dioxus apps";
|
||||
|
Loading…
Reference in New Issue
Block a user