nixpkgs-suyu/pkgs/servers/diod/default.nix

27 lines
721 B
Nix
Raw Normal View History

2019-02-17 12:07:22 +01:00
{ stdenv, fetchurl, munge, lua,
libcap, perl, ncurses
}:
stdenv.mkDerivation rec {
name = "diod-${version}";
version = "1.0.24";
src = fetchurl {
2014-08-20 16:10:20 +02:00
url = "https://github.com/chaos/diod/releases/download/${version}/${name}.tar.gz";
sha256 = "17wckwfsqj61yixz53nwkc35z66arb1x3napahpi64m7q68jn7gl";
};
2019-02-17 12:07:22 +01:00
postPatch = ''
substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h
'';
2014-09-10 17:21:45 +02:00
buildInputs = [ munge lua libcap perl ncurses ];
2019-02-17 12:07:22 +01:00
meta = with stdenv.lib; {
description = "An I/O forwarding server that implements a variant of the 9P protocol";
2019-02-17 12:07:22 +01:00
maintainers = with maintainers; [ rnhmjoj rickynils ];
platforms = platforms.linux;
license = licenses.gpl2Plus;
};
}