File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ } )
You can’t perform that action at this time.
0 commit comments