Merge pull request #101384 from eyJhb/among-sus

among-sus: init at 2020-10-22
This commit is contained in:
WORLDofPEACE 2020-10-30 16:45:53 -04:00 committed by GitHub
commit 8faab3de9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ stdenv, fetchgit, port ? "1234" }:
stdenv.mkDerivation {
pname = "among-sus-unstable";
version = "2020-10-29";
src = fetchgit {
url = "https://git.sr.ht/~martijnbraam/among-sus";
rev = "1f4c8d800d025d36ac66826937161be3252fbc57";
sha256 = "19jq7ygh9l11dl1h6702bg57m04y35nqd6yqx1rgp1kxwhp45xyh";
};
patchPhase = ''
sed -i 's/port = 1234/port = ${port}/g' main.c
'';
installPhase = ''
mkdir -p $out/bin
install -Dm755 among-sus $out/bin
'';
meta = with stdenv.lib; {
homepage = "https://git.sr.ht/~martijnbraam/among-sus";
description = "Among us, but it's a text adventure";
license = licenses.agpl3Plus;
maintainers = [ maintainers.eyjhb ];
platforms = platforms.unix;
};
}

View file

@ -140,6 +140,8 @@ in
alda = callPackage ../development/interpreters/alda { };
among-sus = callPackage ../games/among-sus { };
ankisyncd = callPackage ../servers/ankisyncd { };
avro-tools = callPackage ../development/tools/avro-tools { };