2023-10-19 13:55:26 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "minetest-mapserver";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "4.8.0";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = "mapserver";
|
|
|
|
rev = "v${version}";
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-MKWC8m+7QN1gq+jmUqsadX+OKRF3/jVdoYTuaODCOtM=";
|
2023-10-19 13:55:26 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-q8l0wFXsR32dznB0oYiG9K/2+YQx6kOGtSSnznXLr5E=";
|
2023-10-19 13:55:26 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Realtime mapserver for minetest";
|
|
|
|
mainProgram = "mapserver";
|
|
|
|
homepage = "https://github.com/${pname}/mapserver/blob/master/readme.md";
|
|
|
|
changelog = "https://github.com/${pname}/mapserver/releases/tag/v${version}";
|
|
|
|
license = with licenses; [ mit cc-by-sa-30 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ gm6k ];
|
|
|
|
};
|
|
|
|
}
|