mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-04 03:03:42 +00:00
mynewt-newtmgr: add testers.testVersion
This commit is contained in:
parent
584e438e66
commit
83f68ad36e
@ -2,6 +2,8 @@
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
, stdenv
|
||||
, testers
|
||||
, mynewt-newtmgr
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
@ -17,6 +19,11 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-+vOZoueoMqlGnopLKc6pCgTmcgI34pxaMNbr6Y+JCfQ=";
|
||||
|
||||
passthru.tests.version = testers.testVersion {
|
||||
package = mynewt-newtmgr;
|
||||
command = "newtmgr version";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://mynewt.apache.org/";
|
||||
description = "Tool to communicate with devices running Mynewt OS";
|
||||
|
Loading…
Reference in New Issue
Block a user