Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ravedude: init at 0.1.5 #227627

Merged
merged 1 commit into from
Apr 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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