diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/rust/cargo-espflash/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/rust/cargo-espflash/default.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/nixpkgs/pkgs/development/tools/rust/cargo-espflash/default.nix b/nixpkgs/pkgs/development/tools/rust/cargo-espflash/default.nix deleted file mode 100644 index b8c6243e97bd..000000000000 --- a/nixpkgs/pkgs/development/tools/rust/cargo-espflash/default.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ - lib -, rustPlatform -, fetchFromGitHub -, pkg-config -, udev -, stdenv -, Security -, nix-update-script -, openssl -, SystemConfiguration -}: - -rustPlatform.buildRustPackage rec { - pname = "cargo-espflash"; - version = "2.1.0"; - - src = fetchFromGitHub { - owner = "esp-rs"; - repo = "espflash"; - rev = "v${version}"; - hash = "sha256-Nv2/33VYpCkPYyUhlVDYJR1BkbtEvEPtmgyZXfVn1ug="; - }; - - nativeBuildInputs = [ - pkg-config - ]; - - # 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 - ]; - - cargoHash = "sha256-FpBc92a2JQHRLe5S6yh3l0FpRI8LpkGGEma/4v5X4xs="; - - passthru.updateScript = nix-update-script { }; - - meta = with lib; { - description = "Serial flasher utility for Espressif SoCs and modules based on esptool.py"; - homepage = "https://github.com/esp-rs/cargo-espflash"; - license = with licenses; [ mit /* or */ asl20 ]; - maintainers = with maintainers; [ matthiasbeyer ]; - }; -} |