Skip to content

Commit

Permalink
arnis: init at 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nartsisss committed Jan 9, 2025
1 parent 5408294 commit 4beac63
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/by-name/ar/arnis/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "arnis";
version = "2.1.3";

src = fetchFromGitHub {
owner = "louis-e";
repo = "arnis";
tag = "v${version}";
hash = "sha256-3Gdrgo6j50ieR0E6q0DeKShHbng9sBjBC0hBAPLsnt0=";
};

cargoHash = "sha256-w5XFeyZ+1on7ZkCwROZhbKZCVbSxkVzqIe0/yvJzUgQ=";

nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
#opening ui (bug)
#versionCheckProgramArg = [ "--version" ];

passthru.updateScript = nix-update-script { };

meta = {
description = "Real world location generator for Minecraft Java Edition";
longDescription = ''
Open source project written in Rust generates any chosen location from
the real world in Minecraft Java Edition with a high level of detail.
'';
homepage = "https://github.com/louis-e/arnis";
changelog = "https://github.com/louis-e/arnis/releases/tag/v${version}";
license = lib.licenses.apl20;
maintainers = with lib.maintainers; [ nartsiss ];
mainProgram = "arnis";
};
}

0 comments on commit 4beac63

Please sign in to comment.