11 version = "0-unstable-2022-11-01";
13 src = fetchFrom9Front {
14 domain = "shithub.us";
15 owner = "cinap_lenrek";
17 rev = "69041639483e16392e3013491fcb382efd2b9374";
18 hash = "sha256-xc+EfC4bc9ZA97jCQ6CGCzeLGf+Hx3/syl090/x4ew4=";
22 nativeBuildInputs = [ byacc installShellFiles ];
23 enableParallelBuilding = true;
24 patches = [ ./path.patch ];
25 makeFlags = [ "PREFIX=$(out)" ];
30 install -Dm755 -t $out/bin/ rc
33 install -m644 rcmain.unix $out/lib/rcmain
39 shellPath = "/bin/rc";
40 updateScript = unstableGitUpdater { shallowClone = false; };
44 description = "9front shell";
45 longDescription = "unix port of 9front rc";
46 homepage = "http://shithub.us/cinap_lenrek/rc/HEAD/info.html";
47 license = licenses.mit;
48 maintainers = with maintainers; [ moody ];
50 platforms = platforms.all;