19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
27 sha256 = "0kd22aqb25kf54jjv3ml8wy8xm7lmbf0xz1wfp31m08cbzsbizib";
30 # https://github.com/deiv/driftnet/pull/33
31 # remove on version bump from 1.3.0
34 name = "fix-darwin-build";
35 url = "https://github.com/deiv/driftnet/pull/33/commits/bef5f3509ab5710161e9e21ea960a997eada534f.patch";
36 sha256 = "1b7p9fkgp7dxv965l7q7y632s80h3nnrkaqnak2h0hakwv0i4pvm";
38 # https://github.com/deiv/driftnet/issues/37
39 ./libwebsockets-4.3.0.patch
42 enableParallelBuilding = true;
44 nativeBuildInputs = [ pkg-config autoreconfHook ];
60 description = "Watches network traffic, and picks out and displays JPEG and GIF images for display";
61 homepage = "https://github.com/deiv/driftnet";
62 maintainers = with maintainers; [ offline ];
63 platforms = platforms.linux ++ platforms.darwin;
64 license = licenses.gpl2Plus;