Skip to content

Commit 7408cd5

Browse files
phira-mp: init at 0.1.0-unstable-2025-06-10 (#428178)
2 parents a909cee + 20b4763 commit 7408cd5

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
rustPlatform,
6+
pkg-config,
7+
openssl,
8+
}:
9+
10+
rustPlatform.buildRustPackage (finalAttrs: {
11+
pname = "phira-mp";
12+
# 0.1.0 does not build because the time crate is too old and is incompatible with Rust 1.80.0 or later.
13+
version = "0.1.0-unstable-2025-06-10";
14+
15+
src = fetchFromGitHub {
16+
owner = "TeamFlos";
17+
repo = "phira-mp";
18+
rev = "30b481117af8d17cbfcca88de460e4a407a4cb67";
19+
hash = "sha256-oKQbym627+7ghD7LRI0PaYWzqIm8PinjmUgqlkvDKRA=";
20+
};
21+
22+
nativeBuildInputs = [ pkg-config ];
23+
24+
cargoHash = "sha256-fkGB9qgOxroOjfQMwXfJqSVWB1S7T+ndYVYEmGrqtIs=";
25+
26+
buildInputs = [ openssl ];
27+
28+
meta = {
29+
description = "Multiplayer server for the rhythm game Phira";
30+
homepage = "https://github.com/TeamFlos/phira-mp";
31+
maintainers = with lib.maintainers; [ ulysseszhan ];
32+
license = lib.licenses.unfree; # https://github.com/TeamFlos/phira-mp/issues/7
33+
platforms = lib.platforms.unix;
34+
mainProgram = "phira-mp-server";
35+
};
36+
37+
})

0 commit comments

Comments
 (0)