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

28 lines
702 B
Nix
Raw Normal View History

2015-06-19 05:52:41 +00:00
{ stdenv, fetchFromGitHub, cmake }:
2015-05-08 23:40:45 +00:00
stdenv.mkDerivation rec {
2015-06-19 05:52:41 +00:00
name = "ttylog-${version}";
2017-03-03 01:06:22 +00:00
version = "0.29";
2015-05-08 23:40:45 +00:00
2015-06-19 05:52:41 +00:00
src = fetchFromGitHub {
owner = "rocasa";
repo = "ttylog";
rev = version;
2017-03-03 01:06:22 +00:00
sha256 = "035i9slmdgds5azwxqwp6skxykvaq3mq4jckvm49fng8jq09z7zr";
2015-05-08 23:40:45 +00: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-08 23:40:45 +00:00
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
};
}