summary refs log tree commit diff
path: root/pkgs/servers/u9fs/default.nix
blob: dc855294fbd385b7cfc3c38ca4a6cc2d0a3aff34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchhg }:

stdenv.mkDerivation {
  name = "u9fs-20110513";
  src = fetchhg {
    url = https://code.google.com/p/u9fs;
    rev = "9474edb23b11";
    sha256 = "0irwyk8vnvx0fmz8lmbdb2jrlvas8imr61jr76a1pkwi9wpf2wv6";
  };

  installPhase =
    ''
      mkdir -p $out/bin $out/share/man4
      cp u9fs $out/bin; cp u9fs.man $out/share/man4
    '';

  meta = with stdenv.lib;
    { description = "Serve 9P from Unix";
      homepage = https://code.google.com/p/u9fs;
      license = licenses.free;
      maintainers = [ maintainers.emery ];
      platforms = platforms.unix;
    };
}