mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 21:48:22 +00:00
elf2uf2-rs: Init at unstable-2021-12-12
This commit is contained in:
parent
f7fba6ae71
commit
250cadf958
31
pkgs/development/embedded/elf2uf2-rs/default.nix
Normal file
31
pkgs/development/embedded/elf2uf2-rs/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, udev }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "elf2uf2-rs";
|
||||
version = "unstable-2021-12-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "JoNil";
|
||||
repo = pname;
|
||||
rev = "91ae98873ed01971ab1543b98266a5ad2ec09210";
|
||||
sha256 = "sha256-DGrT+YdDLdTYy5SWcQ+DNbpifGjrF8UTXyEeE/ug564=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
udev
|
||||
];
|
||||
|
||||
cargoSha256 = "sha256-5ui1+987xICP2wUSHy4YzKskn52W51Pi4DbEh+GbSPE=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convert ELF files to UF2 for USB Flashing Bootloaders";
|
||||
homepage = "https://github.com/JoNil/elf2uf2-rs";
|
||||
license = with licenses; [ bsd0 ];
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ polygon ];
|
||||
};
|
||||
}
|
@ -14677,6 +14677,8 @@ with pkgs;
|
||||
|
||||
egypt = callPackage ../development/tools/analysis/egypt { };
|
||||
|
||||
elf2uf2-rs = callPackage ../development/embedded/elf2uf2-rs { };
|
||||
|
||||
elfinfo = callPackage ../development/tools/misc/elfinfo { };
|
||||
|
||||
elfkickers = callPackage ../development/tools/misc/elfkickers { };
|
||||
|
Loading…
Reference in New Issue
Block a user