1 { lib, stdenv, fetchgit, ronn, mount }:
3 stdenv.mkDerivation rec {
5 version = "0.9.2-alpha";
7 env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.cc.isClang) "-Werror=implicit-fallthrough=0";
8 LANG = if stdenv.isDarwin then "en_US.UTF-8" else "C.UTF-8";
9 nativeBuildInputs = [ ronn mount ];
12 url = "git://git.code.sf.net/p/atinout/code";
13 rev = "4976a6cb5237373b7e23cd02d7cd5517f306e3f6";
14 sha256 = "0bninv2bklz7ly140cxx8iyaqjlq809jjx6xqpimn34ghwsaxbpv";
17 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
20 make PREFIX=$out install
24 homepage = "https://atinout.sourceforge.net";
25 description = "Tool for talking to modems";
26 platforms = platforms.unix;
27 license = licenses.gpl3;
28 maintainers = with maintainers; [ bendlas ];
29 mainProgram = "atinout";