Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041{ lib, stdenv, fetchurl, munge, lua, libcap, perl, ncurses,}:
stdenv.mkDerivation rec { pname = "diod"; version = "1.0.24";
src = fetchurl { url = "https://github.com/chaos/diod/releases/download/${version}/${pname}-${version}.tar.gz"; sha256 = "17wckwfsqj61yixz53nwkc35z66arb1x3napahpi64m7q68jn7gl"; };
postPatch = '' substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h sed -i -e '/sys\/types\.h>/a #include <sys/sysmacros.h>' diod/ops.c '';
buildInputs = [ munge lua libcap perl ncurses ];
meta = with lib; { description = "I/O forwarding server that implements a variant of the 9P protocol"; maintainers = with maintainers; [ rnhmjoj ]; platforms = platforms.linux; license = licenses.gpl2Plus; };}