diff --git a/pkgs/tools/misc/mynewt-newtmgr/default.nix b/pkgs/tools/misc/mynewt-newtmgr/default.nix new file mode 100644 index 000000000000..cc660094e8da --- /dev/null +++ b/pkgs/tools/misc/mynewt-newtmgr/default.nix @@ -0,0 +1,33 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, stdenv +}: + +buildGoModule rec { + pname = "mynewt-newtmgr"; + version = "1.10.0"; + + src = fetchFromGitHub { + owner = "apache"; + repo = "mynewt-newtmgr"; + rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag"; + sha256 = "sha256-fobaMkYLLK5qclogtClGdOjgTbmuse/72T3APNssYa4="; + }; + + vendorSha256 = "sha256-+vOZoueoMqlGnopLKc6pCgTmcgI34pxaMNbr6Y+JCfQ="; + + doCheck = false; + + meta = with lib; { + homepage = "https://mynewt.apache.org/"; + description = "Tool to communicate with devices running Mynewt OS"; + longDescription = '' + Newt Manager (newtmgr) is the application tool that enables a user to + communicate with and manage remote devices running the Mynewt OS + ''; + license = licenses.asl20; + maintainers = with maintainers; [ bezmuth ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c094df38748b..b377c2e2952e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -35837,6 +35837,8 @@ with pkgs; mynewt-newt = callPackage ../tools/package-management/mynewt-newt { }; + mynewt-newtmgr = callPackage ../tools/misc/mynewt-newtmgr { }; + mysides = callPackage ../os-specific/darwin/mysides { }; nar-serve = callPackage ../tools/nix/nar-serve { };