Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / mi / minetest-mapserver / package.nix
blob629a46511f5050160cb12d12508bf27b1cc1dade
1 { buildGoModule
2 , fetchFromGitHub
3 , lib
4 }:
6 buildGoModule rec {
7   pname = "minetest-mapserver";
8   version = "4.7.0";
10   src = fetchFromGitHub {
11     owner = pname;
12     repo = "mapserver";
13     rev = "v${version}";
14     hash = "sha256-qThdNXb17mh3Ph57d3oUl/KhP64AKPZJOCVsvr2SDWk=";
15   };
17   vendorHash = "sha256-VSyzdiPNcHDH/ebM2A0pTAyiMblMaJGEIULsIzupmaw=";
19   meta = with lib; {
20     description = "Realtime mapserver for minetest";
21     mainProgram = "mapserver";
22     homepage = "https://github.com/${pname}/mapserver/blob/master/readme.md";
23     changelog = "https://github.com/${pname}/mapserver/releases/tag/v${version}";
24     license = with licenses; [ mit cc-by-sa-30 ];
25     platforms = platforms.all;
26     maintainers = with maintainers; [ gm6k ];
27   };