nixpkgs/pkgs/tools/misc/ttylog/default.nix

28 lines
702 B
Nix
Raw Normal View History

2015-06-19 07:52:41 +02:00
{ stdenv, fetchFromGitHub, cmake }:
2015-05-09 01:40:45 +02:00
stdenv.mkDerivation rec {
2015-06-19 07:52:41 +02:00
name = "ttylog-${version}";
2017-03-03 02:06:22 +01:00
version = "0.29";
2015-05-09 01:40:45 +02:00
2015-06-19 07:52:41 +02:00
src = fetchFromGitHub {
owner = "rocasa";
repo = "ttylog";
rev = version;
2017-03-03 02:06:22 +01:00
sha256 = "035i9slmdgds5azwxqwp6skxykvaq3mq4jckvm49fng8jq09z7zr";
2015-05-09 01:40:45 +02:00
};
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
homepage = "http://ttylog.sourceforg.net";
description = "Simple serial port logger";
longDescription = ''
A serial port logger which can be used to print everything to stdout
that comes from a serial device.
'';
2015-05-09 01:40:45 +02:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}