aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/servers/u9fs/default.nix
blob: 97745b77ad2fd42f74c0c3df1bf673a0646b53be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchhg }:

stdenv.mkDerivation {
  pname = "u9fs";
  version = "unstable-2020-11-21";

  src = fetchhg {
    url = "https://code.9front.org/hg/plan9front";
    rev = "6eef4d6a9bce";
    sha256 = "0irwyk8vnvx0fmz8lmbdb2jrlvas8imr61jr76a1pkwi9wpf2wv6";
  };

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

  meta = with stdenv.lib; {
    description = "Serve 9P from Unix";
    homepage = "http://plan9.bell-labs.com/magic/man2html/4/u9fs";
    license = licenses.free;
    maintainers = [ maintainers.ehmry ];
    platforms = platforms.unix;
  };
}