9 stdenv.mkDerivation rec {
14 url = "https://monkey.org/~marius/trickle/trickle-${version}.tar.gz";
15 sha256 = "0s1qq3k5mpcs9i7ng0l9fvr1f75abpbzfi1jaf3zpzbs1dz50dlx";
24 sed -i 's|libevent.a|libevent.so|' configure
28 sed -i '/#define in_addr_t/ s:^://:' config.h
35 env.NIX_CFLAGS_COMPILE = toString [ "-I${libtirpc.dev}/include/tirpc" ];
37 configureFlags = [ "--with-libevent" ];
39 hardeningDisable = [ "format" ];
42 description = "Lightweight userspace bandwidth shaper";
43 license = lib.licenses.bsd3;
44 homepage = "https://monkey.org/~marius/pages/?page=trickle";
45 platforms = lib.platforms.linux;
46 mainProgram = "trickle";