depot/third_party/nixpkgs/pkgs/by-name/mi/minetest-mapserver/package.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

28 lines
754 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
}:
buildGoModule rec {
pname = "minetest-mapserver";
version = "4.8.0";
src = fetchFromGitHub {
owner = pname;
repo = "mapserver";
rev = "v${version}";
hash = "sha256-MKWC8m+7QN1gq+jmUqsadX+OKRF3/jVdoYTuaODCOtM=";
};
vendorHash = "sha256-q8l0wFXsR32dznB0oYiG9K/2+YQx6kOGtSSnznXLr5E=";
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 ];
};
}