mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 12:04:40 +00:00
ravedude: add simple version test
This commit is contained in:
parent
9eab5170f3
commit
52ef1ef0cc
@ -4,6 +4,8 @@
|
||||
, pkg-config
|
||||
, udev
|
||||
, nix-update-script
|
||||
, testers
|
||||
, ravedude
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -21,7 +23,13 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
buildInputs = [ udev ];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
passthru = {
|
||||
updateScript = nix-update-script { };
|
||||
tests.version = testers.testVersion {
|
||||
package = ravedude;
|
||||
version = "v${version}";
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to easily flash code onto an AVR microcontroller with avrdude";
|
||||
|
Loading…
Reference in New Issue
Block a user