Loading pkgs/development/tools/rust/cargo-espflash/default.nix +22 −5 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, udev, stdenv, Security }: { lib , rustPlatform , fetchFromGitHub , pkg-config , udev , stdenv , Security , nix-update-script , openssl , SystemConfiguration }: rustPlatform.buildRustPackage rec { pname = "cargo-espflash"; version = "1.7.0"; version = "2.0.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espflash"; rev = "v${version}"; sha256 = "sha256-AauIneSnacnY4mulD/qUgfN4K9tLzZXFug0oEsDuj18="; hash = "sha256-3E0OC8DVP2muLyoN4DQfrdnK+idQEm7IpaA/CUIyYnU="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isLinux [ # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ udev ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; cargoSha256 = "sha256-82o3B6qmBVPpBVAogClmTbxrBRXY8Lmd2sHmonP5/s8="; cargoHash = "sha256-8VIAmmtaQoIvD7wN+W3yUM0CEDadOQrv1wnJ4/AWKFA="; passthru.updateScript = nix-update-script { }; meta = with lib; { description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py"; Loading pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -16666,7 +16666,7 @@ with pkgs; cargo2junit = callPackage ../development/tools/rust/cargo2junit { }; cargo-espflash = callPackage ../development/tools/rust/cargo-espflash { inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; cargo-web = callPackage ../development/tools/rust/cargo-web { Loading
pkgs/development/tools/rust/cargo-espflash/default.nix +22 −5 Original line number Diff line number Diff line { lib, rustPlatform, fetchFromGitHub, pkg-config, udev, stdenv, Security }: { lib , rustPlatform , fetchFromGitHub , pkg-config , udev , stdenv , Security , nix-update-script , openssl , SystemConfiguration }: rustPlatform.buildRustPackage rec { pname = "cargo-espflash"; version = "1.7.0"; version = "2.0.0"; src = fetchFromGitHub { owner = "esp-rs"; repo = "espflash"; rev = "v${version}"; sha256 = "sha256-AauIneSnacnY4mulD/qUgfN4K9tLzZXFug0oEsDuj18="; hash = "sha256-3E0OC8DVP2muLyoN4DQfrdnK+idQEm7IpaA/CUIyYnU="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = lib.optionals stdenv.isLinux [ # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ udev ] ++ lib.optionals stdenv.isDarwin [ Security SystemConfiguration ]; cargoSha256 = "sha256-82o3B6qmBVPpBVAogClmTbxrBRXY8Lmd2sHmonP5/s8="; cargoHash = "sha256-8VIAmmtaQoIvD7wN+W3yUM0CEDadOQrv1wnJ4/AWKFA="; passthru.updateScript = nix-update-script { }; meta = with lib; { description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py"; Loading
pkgs/top-level/all-packages.nix +1 −1 Original line number Diff line number Diff line Loading @@ -16666,7 +16666,7 @@ with pkgs; cargo2junit = callPackage ../development/tools/rust/cargo2junit { }; cargo-espflash = callPackage ../development/tools/rust/cargo-espflash { inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration; }; cargo-web = callPackage ../development/tools/rust/cargo-web {