10 pname = "mynewt-newtmgr";
13 src = fetchFromGitHub {
15 repo = "mynewt-newtmgr";
16 rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag";
17 sha256 = "sha256-fobaMkYLLK5qclogtClGdOjgTbmuse/72T3APNssYa4=";
20 vendorHash = "sha256-+vOZoueoMqlGnopLKc6pCgTmcgI34pxaMNbr6Y+JCfQ=";
22 passthru.tests.version = testers.testVersion {
23 package = mynewt-newtmgr;
24 command = "newtmgr version";
28 homepage = "https://mynewt.apache.org/";
29 description = "Tool to communicate with devices running Mynewt OS";
31 Newt Manager (newtmgr) an application that enables a user to communicate
32 with and manage remote devices running the Mynewt OS
34 license = licenses.asl20;
35 maintainers = with maintainers; [ bezmuth ];
36 # never built on aarch64-darwin, x86_64-darwin since first introduction in nixpkgs
37 broken = stdenv.hostPlatform.isDarwin;