summary refs log tree commit diff
path: root/pkgs/tools/networking/driftnet/default.nix
blob: a0f5b5b08420ca4d5cef365ba500b438374c1ead (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
29
30
31
{ stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
, giflib, glib, gtk2, cairo, pango, gdk-pixbuf, atk
, pkgconfig, autoreconfHook }:

with lib;

stdenv.mkDerivation {
  pname = "driftnet";
  version = "1.1.5";

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [
    libpcap libjpeg libungif libpng giflib
    glib gtk2 glib cairo pango gdk-pixbuf atk autoreconfHook
  ];

  src = fetchFromGitHub {
    owner = "deiv";
    repo = "driftnet";
    rev = "0ae4a91";
    sha256 = "1sagpx0mw68ggvqd9c3crjhghqmj7391mf2cb6cjw1cpd2hcddsj";
  };

  meta = {
    description = "Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display";
    homepage = https://github.com/deiv/driftnet;
    maintainers = with maintainers; [ offline ];
    platforms = platforms.linux;
    license = licenses.gpl2;
  };
}