mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #8681 from offlinehacker/pkgs/driftnet/add
Add driftnet
This commit is contained in:
commit
24a626020a
26
pkgs/tools/networking/driftnet/default.nix
Normal file
26
pkgs/tools/networking/driftnet/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoconf, automake, libpcap, libjpeg, libungif, libpng, giflib, glib, gtk2, cairo, pango, gdk_pixbuf, atk, pkgconfig }:
|
||||
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "driftnet-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
rev = "8d47fd563a06122d4a6f9b9b9d27ba3d635148c0";
|
||||
|
||||
buildInputs = [ autoconf automake pkgconfig libpcap libjpeg libungif libpng giflib glib gtk2 glib cairo pango gdk_pixbuf atk ];
|
||||
|
||||
preConfigure = "autoreconf -fi";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "deiv";
|
||||
repo = "driftnet";
|
||||
sha256 = "1i9fqbsfrhvr36r17v3ydr1bqsszns8gyjbvlfqbdd4l5l5n6amg";
|
||||
};
|
||||
|
||||
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 = with platforms; linux;
|
||||
};
|
||||
}
|
@ -1346,6 +1346,8 @@ let
|
||||
|
||||
drive = callPackage ../applications/networking/drive { };
|
||||
|
||||
driftnet = callPackage ../tools/networking/driftnet {};
|
||||
|
||||
dropbear = callPackage ../tools/networking/dropbear { };
|
||||
|
||||
dtach = callPackage ../tools/misc/dtach { };
|
||||
|
Loading…
Reference in New Issue
Block a user