configuration/packages/little-a-map.nix
2024-04-29 22:11:20 -07:00

35 lines
885 B
Nix

{ fetchFromGitea
, lib
, rustPlatform
# Dependencies
, cmake
}:
rustPlatform.buildRustPackage rec {
pname = "little-a-map";
version = "0.12.2";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "AndrewKvalheim";
repo = "little-a-map";
rev = "v${version}";
hash = "sha256-6nvQ9TjeF9yHZtD/kN/dR/QwkZVshmbmbND9gsBTfWY=";
};
cargoHash = "sha256-toe+SkWfKh5ZPd0m20mr+xvF6wBH/Y6vAIYICYjs134=";
nativeBuildInputs = [ cmake ];
preCheck = ''
export TEST_OUTPUT_PATH="$TMPDIR"
'';
meta = {
description = "Players can have little a mapif they've surveyed the area in-game. This tool renders a composite of player-created map items with the goal of minimizing external effects on survival gameplay.";
homepage = "https://codeberg.org/AndrewKvalheim/little-a-map";
license = lib.licenses.gpl3;
mainProgram = pname;
};
}