From 310268f36d77869572d11430a5ad7a50c6a87fad Mon Sep 17 00:00:00 2001 From: Rickard Nilsson Date: Tue, 20 Aug 2013 17:24:30 +0200 Subject: [PATCH] diod: New package, a 9P server implementation for Linux --- pkgs/servers/diod/default.nix | 19 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/servers/diod/default.nix diff --git a/pkgs/servers/diod/default.nix b/pkgs/servers/diod/default.nix new file mode 100644 index 000000000000..3b7e7f068af7 --- /dev/null +++ b/pkgs/servers/diod/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl, munge, lua5, libcap, perl, ncurses }: + +stdenv.mkDerivation rec { + name = "diod-${version}"; + version = "1.0.21"; + + src = fetchurl { + url = "https://github.com/chaos/diod/archive/${version}.tar.gz"; + sha256 = "1864i42a4rm3f1q68nc19kcshc0hcf6zfgsdq0ppmmwry4mrvij0"; + }; + + buildInputs = [ munge lua5 libcap perl ncurses ]; + + meta = { + description = "An I/O forwarding server that implements a variant of the 9P protocol"; + maintainers = [ stdenv.lib.maintainers.rickynils]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 0e802b8b727e..ef697720746f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5935,6 +5935,8 @@ let dictdWordnet = callPackage ../servers/dict/dictd-wordnet.nix {}; + diod = callPackage ../servers/diod { }; + dovecot = dovecot21; dovecot21 = callPackage ../servers/mail/dovecot { };