summary refs log tree commit diff
path: root/pkgs/tools/networking/atinout/default.nix
blob: 16b3ee668da6243866db469818a702696fec09af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchgit, ronn, mount }:

stdenv.mkDerivation rec {
  name = "atinout-${version}";
  version = "0.9.2-alpha";

  NIX_CFLAGS_COMPILE = "-Werror=implicit-fallthrough=0";
  LANG = "C.UTF-8";
  nativeBuildInputs = [ ronn mount ];

  src = fetchgit {
    url = "git://git.code.sf.net/p/atinout/code";
    rev = "4976a6cb5237373b7e23cd02d7cd5517f306e3f6";
    sha256 = "0bninv2bklz7ly140cxx8iyaqjlq809jjx6xqpimn34ghwsaxbpv";
  };

  installPhase = ''
    make PREFIX=$out install
  '';

  meta = with stdenv.lib; {
    homepage = http://atinout.sourceforge.net;
    description = "Tool for talking to modems";
    platforms = platforms.unix;
    license = licenses.gpl3;
    maintainers = with maintainers; [ bendlas ];
  };
}