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}";
version = "0.26";
2015-05-09 01:40:45 +02:00
2015-06-19 07:52:41 +02:00
src = fetchFromGitHub {
owner = "rocasa";
repo = "ttylog";
rev = version;
sha256 = "1xvqch1dwpl2d89n9cjcxhqbpvm50fspj5yn883wbii6dpg62p84";
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 ];
};
}