Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 32 lines 680 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 cmake, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "ttylog"; 10 version = "0.31"; 11 12 src = fetchFromGitHub { 13 owner = "rocasa"; 14 repo = "ttylog"; 15 rev = version; 16 sha256 = "0c746bpjpa77vsr88fxk8h1803p5np1di1mpjf4jy5bv5x3zwm07"; 17 }; 18 19 nativeBuildInputs = [ cmake ]; 20 21 meta = with lib; { 22 homepage = "https://ttylog.sourceforge.net"; 23 description = "Simple serial port logger"; 24 longDescription = '' 25 A serial port logger which can be used to print everything to stdout 26 that comes from a serial device. 27 ''; 28 license = licenses.gpl2Plus; 29 platforms = platforms.linux; 30 mainProgram = "ttylog"; 31 }; 32}