@@ -1,24 +1,26 @@
11{ stdenv, fetchhg }:
22
33stdenv.mkDerivation {
4− name = "u9fs-20110513";
4+ pname = "u9fs";
5+ version = "unstable-2020-11-21";
6+
57 src = fetchhg {
6− url = "https://bitbucket.org/plan9-from-bell-labs/u9fs";
7− rev = "9474edb23b11";
8+ url = "https://code.9front.org/hg/plan9front";
9+ rev = "6eef4d6a9bce";
810 sha256 = "0irwyk8vnvx0fmz8lmbdb2jrlvas8imr61jr76a1pkwi9wpf2wv6";
911 };
1012
11− installPhase =
12− ''
13+ installPhase = ''
1314 mkdir -p $out/bin $out/share/man4
14− cp u9fs $out/bin; cp u9fs.man $out/share/man4
15+ cp u9fs.man $out/share/man4
16+ cp u9fs $out/bin
1517 '';
1618
17− meta = with stdenv.lib;
18− { description = "Serve 9P from Unix";
19− homepage = "http://plan9.bell-labs.com/magic/man2html/4/u9fs";
20− license = licenses.free;
21− maintainers = [ maintainers.ehmry ];
22− platforms = platforms.unix;
23− };
19+ meta = with stdenv.lib; {
20+ description = "Serve 9P from Unix";
21+ homepage = "http://plan9.bell-labs.com/magic/man2html/4/u9fs";
22+ license = licenses.free;
23+ maintainers = [ maintainers.ehmry ];
24+ platforms = platforms.unix;
25+ };
2426}