nixpkgs/pkgs/by-name/mi/minetest-mapserver/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
754 B
Nix
Raw Normal View History

2023-10-09 07:41:30 +02:00
{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "minetest-mapserver";
2023-12-28 09:12:38 +01:00
version = "4.8.0";
2023-10-09 07:41:30 +02:00
src = fetchFromGitHub {
owner = pname;
repo = "mapserver";
rev = "v${version}";
2023-12-28 09:12:38 +01:00
hash = "sha256-MKWC8m+7QN1gq+jmUqsadX+OKRF3/jVdoYTuaODCOtM=";
2023-10-09 07:41:30 +02:00
};
2023-12-28 09:12:38 +01:00
vendorHash = "sha256-q8l0wFXsR32dznB0oYiG9K/2+YQx6kOGtSSnznXLr5E=";
2023-10-09 07:41:30 +02: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;
2023-12-19 13:10:44 +01:00
maintainers = with maintainers; [ gm6k ];
2023-10-09 07:41:30 +02:00
};
}