Unverified Commit d84661fc authored by Donovan Glover's avatar Donovan Glover Committed by GitHub
Browse files

elf2uf2-rs: 2.0.0 -> 2.1.1 (#368805)

parents ad4fca9f 963ab094
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{ lib, stdenv, rustPlatform, fetchCrate, pkg-config, udev, CoreFoundation, DiskArbitration, Foundation }:
{
  lib,
  stdenv,
  rustPlatform,
  fetchCrate,
  pkg-config,
  udev,
}:

rustPlatform.buildRustPackage rec {
  pname = "elf2uf2-rs";
  version = "2.0.0";
  version = "2.1.1";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-cmiCOykORue0Cg2uUUWa/nXviX1ddbGNC5gRKe+1kYs=";
    hash = "sha256-7RS2OC00tjsSBYFvg0/FQf1HN515FdrmCoKhJBu4fvI=";
  };

  cargoHash = "sha256-oz2XVqDWmv/8HLrIFL+xJinZNUdoWk4KVHDPZr2v+Ls=";

  nativeBuildInputs = [
    pkg-config
  ];

  buildInputs = lib.optional stdenv.hostPlatform.isLinux udev
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      CoreFoundation
      DiskArbitration
      Foundation
    ];

  cargoHash = "sha256-TBH3pLB6vQVGnfShLtFPNKjciuUIuTkvp3Gayzo+X9E=";
  buildInputs = lib.optional stdenv.hostPlatform.isLinux udev;

  meta = with lib; {
    description = "Convert ELF files to UF2 for USB Flashing Bootloaders";
@@ -28,6 +30,9 @@ rustPlatform.buildRustPackage rec {
    homepage = "https://github.com/JoNil/elf2uf2-rs";
    license = with licenses; [ bsd0 ];
    platforms = platforms.linux ++ platforms.darwin;
    maintainers = with maintainers; [ polygon moni ];
    maintainers = with maintainers; [
      polygon
      moni
    ];
  };
}
+0 −4
Original line number Diff line number Diff line
@@ -8029,10 +8029,6 @@ with pkgs;
  edb = libsForQt5.callPackage ../development/tools/misc/edb { };
  elf2uf2-rs = darwin.apple_sdk_11_0.callPackage ../development/embedded/elf2uf2-rs {
    inherit (darwin.apple_sdk_11_0.frameworks) CoreFoundation DiskArbitration Foundation;
  };
  license_finder = callPackage ../development/tools/license_finder { };
  # NOTE: Override and set useIcon = false to use Awk instead of Icon.