1{ stdenv, fetchurl, munge, lua, libcap, perl, ncurses }:
2
3stdenv.mkDerivation rec {
4 name = "diod-${version}";
5 version = "1.0.23";
6
7 src = fetchurl {
8 url = "https://github.com/chaos/diod/releases/download/${version}/${name}.tar.gz";
9 sha256 = "002vxc9fwdwshda4jydxagr63xd6nnhbc6fh73974gi2pvp6gid3";
10 };
11
12 buildInputs = [ munge lua libcap perl ncurses ];
13
14 meta = {
15 description = "An I/O forwarding server that implements a variant of the 9P protocol";
16 maintainers = [ stdenv.lib.maintainers.rickynils];
17 platforms = stdenv.lib.platforms.linux;
18 };
19}