mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-09 22:57:41 +03:00
mchprs: init at 0.4.1
Co-authored-by: Ryan Lahfa <masterancpp@gmail.com>
This commit is contained in:
parent
8ef139fe52
commit
4f822ac9fd
3052
pkgs/games/mchprs/Cargo.lock
generated
Normal file
3052
pkgs/games/mchprs/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
51
pkgs/games/mchprs/default.nix
Normal file
51
pkgs/games/mchprs/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
, sqlite
|
||||
, zlib
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mchprs";
|
||||
version = "0.4.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MCHPR";
|
||||
repo = "MCHPRS";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-y1ILZvnDWVlghvUVe8xU5wP2TMW+Q/l+V+bqDZrpnBk=";
|
||||
};
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"hematite-nbt-0.5.2" = "sha256-knBmH/32JJclhFZbKTNx5XgLSQ2rIrXUGu8uoAHAXMk=";
|
||||
};
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
sqlite
|
||||
zlib
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.CoreFoundation
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "mchprs";
|
||||
description = "A multithreaded Minecraft server built for redstone";
|
||||
homepage = "https://github.com/MCHPR/MCHPRS";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ gdd ];
|
||||
};
|
||||
}
|
@ -37172,6 +37172,8 @@ with pkgs;
|
||||
|
||||
mars = callPackage ../games/mars { };
|
||||
|
||||
mchprs = callPackage ../games/mchprs { };
|
||||
|
||||
megaglest = callPackage ../games/megaglest { };
|
||||
|
||||
methane = callPackage ../games/methane { };
|
||||
|
Loading…
Reference in New Issue
Block a user