-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
ravedude: init at 0.1.5 #227627
Conversation
|
||
src = fetchCrate { | ||
inherit pname version; | ||
sha256 = "wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sha256 = "wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo="; | |
hash = "wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, thanks for pointing it out.
I had to prefix the hash with its type, to make it SRI-compatible. Otherwise, the build would fail as it cannot infer the algorithm:
error: hash 'wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo=' does not include a type, nor is the type otherwise known from context
Also, judging by some PRs merged lately, I reckon that's preferred.
sha256 = "wcY9fvfIn1pWMAh5FI/QFl18CV2xjmRGSwwoRfGvujo="; | ||
}; | ||
|
||
cargoSha256 = "AOIrB0FRagbA2+JEURF41d+th0AbR++U5WKCcZmh4Os="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargoSha256 = "AOIrB0FRagbA2+JEURF41d+th0AbR++U5WKCcZmh4Os="; | |
cargoHash = "AOIrB0FRagbA2+JEURF41d+th0AbR++U5WKCcZmh4Os="; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto, thanks.
This is a tool to make Rust development for AVR microcontrollers smoother by wrapping `avrdude`. https://github.com/Rahix/avr-hal/tree/main/ravedude
2cca4b0
to
0b1acf2
Compare
Description of changes
This is a tool to make Rust development for AVR microcontrollers smoother by wrapping
avrdude
.https://github.com/Rahix/avr-hal/tree/main/ravedude
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)