2020-01-11 14:48:36 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2017-05-17 18:30:12 +02:00
|
|
|
|
2020-01-11 14:48:36 +01:00
|
|
|
buildGoModule rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mynewt-newt";
|
2020-01-11 14:48:36 +01:00
|
|
|
version = "1.7.0";
|
2017-05-17 18:30:12 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "apache";
|
2020-01-11 14:48:36 +01:00
|
|
|
repo = "mynewt-newt";
|
2017-05-17 18:30:12 +02:00
|
|
|
rev = "mynewt_${builtins.replaceStrings ["."] ["_"] version}_tag";
|
2020-01-11 14:48:36 +01:00
|
|
|
sha256 = "0rwn4ghh7kal8csxlh0w1p29b5m1nam9lkrxla5wdfhnzbsg8hfa";
|
2017-05-17 18:30:12 +02:00
|
|
|
};
|
|
|
|
|
2020-01-11 14:48:36 +01:00
|
|
|
modSha256 = "068r8wa2pgd68jv50x0l1w8n96f97b3mgv7z6f85280ahgywaasq";
|
|
|
|
|
2017-05-17 18:30:12 +02: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 14:00:33 +01:00
|
|
|
platforms = platforms.unix;
|
2017-05-17 18:30:12 +02:00
|
|
|
};
|
|
|
|
}
|