14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
22 sha256 = "sha256-01zhiQi6v/8ZajsdBU+4hKUCj+PRJ/vUHluOIzy/Gi8=";
25 cargoSha256 = "sha256-AXaGuRqSFiq+Uiy+UaqPdPVyDhCogC64KZZ0Ah1Yo7A=";
27 nativeBuildInputs = lib.optionals stdenv.isLinux [
31 buildInputs = lib.optionals stdenv.isLinux [
37 ] ++ lib.optionals stdenv.isDarwin [
43 substituteInPlace src/main.rs \
44 --replace ./assets $out/share/assets \
45 --replace ./mods $out/share/mods
50 cp -r assets mods $out/share
54 description = "A tactical 2D shooter played by up to 4 players online or on a shared screen";
55 homepage = "https://fishfight.org/";
56 license = with licenses; [ mit /* or */ asl20 ];
57 maintainers = with maintainers; [ figsoda ];