1 { lib, stdenv, fetchFromSourcehut, port ? "1234" }:
4 pname = "among-sus-unstable";
5 version = "2021-05-19";
7 src = fetchFromSourcehut {
8 owner = "~martijnbraam";
10 rev = "554e60bf52e3fa931661b9414189a92bb8f69d78";
11 sha256 = "0j1158nczhvy5i1ykvzvhlv4ndhibgng0dq1lw2bmi8q6k1q1s0w";
15 sed -i 's/port = 1234/port = ${port}/g' main.c
20 install -Dm755 among-sus $out/bin
24 homepage = "https://git.sr.ht/~martijnbraam/among-sus";
25 description = "Among us, but it's a text adventure";
26 license = licenses.agpl3Plus;
27 maintainers = [ maintainers.eyjhb ];
28 platforms = platforms.unix;