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 committed Apr 24, 2023
1 parent 8c6d3cb commit 0b1acf2
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 @@ -16233,6 +16233,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 0b1acf2

Please sign in to comment.