2017-05-17 17:30:12 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mynewt-newt";
|
2018-02-27 15:50:37 +00:00
|
|
|
version = "1.3.0";
|
2017-05-17 17:30:12 +01:00
|
|
|
|
|
|
|
goPackagePath = "mynewt.apache.org/newt";
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "apache";
|
|
|
|
repo = "incubator-mynewt-newt";
|
|
|
|
rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag";
|
2018-02-27 15:50:37 +00:00
|
|
|
sha256 = "0ia6q1wf3ki2yw8ngw5gnbdrb7268qwi078j05f8gs1sppb3g563";
|
2017-05-17 17:30:12 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://mynewt.apache.org/;
|
|
|
|
description = "Build and package management tool for embedded development.";
|
|
|
|
longDescription = ''
|
|
|
|
Apache Newt is a smart build and package management tool,
|
|
|
|
designed for C and C++ applications in embedded contexts. Newt
|
|
|
|
was developed as a part of the Apache Mynewt Operating System.
|
|
|
|
'';
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ pjones ];
|
2019-02-17 13:00:33 +00:00
|
|
|
platforms = platforms.unix;
|
2017-05-17 17:30:12 +01:00
|
|
|
};
|
|
|
|
}
|