1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "tmx2lua";
9 version = "1.0.1";
10
11 src = fetchFromGitHub {
12 owner = "hawkthorne";
13 repo = "tmx2lua";
14 tag = "v${version}";
15 hash = "sha256-vORmsr1hcdPzZYZZJ9GTOJ5B/fT2sp47Kc1dzbgDW9M=";
16 };
17
18 vendorHash = "sha256-Vfr5/lhpb+Qdhi4Z/yCbUUyd5DvI3z8UfUfxx+975iQ=";
19
20 meta = {
21 description = "Convert TMX files to Lua for LÖVE";
22 homepage = "https://github.com/hawkthorne/tmx2lua";
23 changelog = "https://github.com/hawkthorne/tmx2lua/releases/tag/v${version}";
24 license = lib.licenses.mit;
25 maintainers = with lib.maintainers; [ liberodark ];
26 mainProgram = "tmx2lua";
27 };
28}