Skip to content

Commit

Permalink
ravedude: init at 0.1.5
Browse files Browse the repository at this point in the history
This is a tool to make Rust development for AVR microcontrollers
smoother by wrapping `avrdude`.

https://github.com/Rahix/avr-hal/tree/main/ravedude
  • Loading branch information
rvarago authored and AndersonTorres committed Apr 26, 2023
1 parent 87439d8 commit 2d2c3c0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pkgs/development/tools/rust/ravedude/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ lib
, rustPlatform
, fetchCrate
, pkg-config
, udev
}:

rustPlatform.buildRustPackage rec {
pname = "ravedude";
version = "0.1.5";

src = fetchCrate {
inherit pname version;
hash = "sha256-wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo=";
};

cargoHash = "sha256-AOIrB0FRagbA2+JEURF41d+th0AbR++U5WKCcZmh4Os=";

nativeBuildInputs = [ pkg-config ];

buildInputs = [ udev ];

meta = with lib; {
description = "Tool to easily flash code onto an AVR microcontroller with avrdude";
homepage = "https://crates.io/crates/ravedude";
license = with licenses; [ mit /* or */ asl20 ];
platforms = platforms.linux;
maintainers = with maintainers; [ rvarago ];
};
}
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16276,6 +16276,7 @@ with pkgs;

ograc = callPackage ../development/tools/rust/ograc { };

ravedude = callPackage ../development/tools/rust/ravedude { };
rhack = callPackage ../development/tools/rust/rhack { };
roogle = callPackage ../development/tools/rust/roogle { };
rustfmt = rustPackages.rustfmt;
Expand Down

0 comments on commit 2d2c3c0

Please sign in to comment.