14 rustPlatform.buildRustPackage rec {
18 src = fetchFromGitHub {
21 rev = "refs/tags/v${version}";
22 hash = "sha256-Jm9ZsqCKOIxZsXQbCluYu7MgOD7hXYljcv/URaNVUW0=";
26 lockFile = ./Cargo.lock;
28 "hematite-nbt-0.5.2" = "sha256-ohhsMlRLFNesccxhqn0GAiVswcdMldD3gv0AXcviHU8=";
35 rustPlatform.bindgenHook
44 ++ lib.optionals stdenv.hostPlatform.isDarwin [
45 darwin.apple_sdk.frameworks.CoreFoundation
46 darwin.apple_sdk.frameworks.Security
47 darwin.apple_sdk.frameworks.SystemConfiguration
51 mainProgram = "mchprs";
52 description = "Multithreaded Minecraft server built for redstone";
53 homepage = "https://github.com/MCHPR/MCHPRS";
54 license = licenses.mit;
55 maintainers = with maintainers; [ gdd ];