1 { lib, stdenv, fetchurl, munge, lua,
5 stdenv.mkDerivation rec {
10 url = "https://github.com/chaos/diod/releases/download/${version}/${pname}-${version}.tar.gz";
11 sha256 = "17wckwfsqj61yixz53nwkc35z66arb1x3napahpi64m7q68jn7gl";
15 substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h
16 sed -i -e '/sys\/types\.h>/a #include <sys/sysmacros.h>' diod/ops.c
19 buildInputs = [ munge lua libcap perl ncurses ];
22 description = "An I/O forwarding server that implements a variant of the 9P protocol";
23 maintainers = with maintainers; [ rnhmjoj ];
24 platforms = platforms.linux;
25 license = licenses.gpl2Plus;