3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/driftnet/default.nix

32 lines
844 B
Nix
Raw Normal View History

{ stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
2019-05-22 12:03:39 +01:00
, giflib, glib, gtk2, cairo, pango, gdk-pixbuf, atk
, pkgconfig, autoreconfHook }:
2015-07-07 10:52:23 +01:00
with lib;
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "driftnet";
2017-03-02 01:55:11 +00:00
version = "1.1.5";
2015-07-07 10:52:23 +01:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libpcap libjpeg libungif libpng giflib
2019-05-22 12:03:39 +01:00
glib gtk2 glib cairo pango gdk-pixbuf atk autoreconfHook
];
2015-07-07 10:52:23 +01:00
src = fetchFromGitHub {
owner = "deiv";
repo = "driftnet";
2017-03-02 01:55:11 +00:00
rev = "0ae4a91";
sha256 = "1sagpx0mw68ggvqd9c3crjhghqmj7391mf2cb6cjw1cpd2hcddsj";
2015-07-07 10:52:23 +01:00
};
meta = {
description = "Watches network traffic, and picks out and displays JPEG and GIF images for display";
homepage = "https://github.com/deiv/driftnet";
2015-07-07 10:52:23 +01:00
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
2018-09-10 20:22:10 +01:00
license = licenses.gpl2;
2015-07-07 10:52:23 +01:00
};
}