fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{stdenv, fetchurl, ncurses, libpcap }:
2
3stdenv.mkDerivation rec {
4
5 version = "3.4-beta2";
6
7 name = "sipp-${version}";
8
9 src = fetchurl {
10 url = "https://github.com/SIPp/sipp/archive/${version}.tar.gz";
11 sha256 = "0rr3slarh5dhpinif5aqji9c9krnpvl7z49w7qahvsww1niawwdv";
12 };
13
14 configurePhase = ''
15 export ac_cv_lib_curses_initscr=yes
16 export ac_cv_lib_pthread_pthread_mutex_init=yes
17 sed -i "s@pcap/\(.*\).pcap@$out/share/pcap/\1.pcap@g" src/scenario.cpp
18 ./configure --prefix=$out --with-pcap
19 '';
20
21 postInstall = ''
22 mkdir -pv $out/share/pcap
23 cp pcap/* $out/share/pcap
24 '';
25
26 buildInputs = [ncurses libpcap];
27}
28