2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchhg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2020-11-24 20:58:05 +00:00
|
|
|
pname = "u9fs";
|
|
|
|
version = "unstable-2020-11-21";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchhg {
|
2020-11-24 20:58:05 +00:00
|
|
|
url = "https://code.9front.org/hg/plan9front";
|
|
|
|
rev = "6eef4d6a9bce";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "0irwyk8vnvx0fmz8lmbdb2jrlvas8imr61jr76a1pkwi9wpf2wv6";
|
|
|
|
};
|
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
installPhase = ''
|
2020-04-24 23:36:52 +00:00
|
|
|
mkdir -p $out/bin $out/share/man4
|
2020-11-24 20:58:05 +00:00
|
|
|
cp u9fs.man $out/share/man4
|
|
|
|
cp u9fs $out/bin
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2020-11-24 20:58:05 +00:00
|
|
|
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;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|