Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 24 lines 717 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "mbtileserver"; 5 version = "0.9.0"; 6 7 src = fetchFromGitHub { 8 owner = "consbio"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-HGzgqUH9OxwjfYR9I9JzcP11+SB8A3hC/3Uk1dOCq+k="; 12 }; 13 14 vendorSha256 = "sha256-vuNOOPVGUkmKJ477N20DvhJTcMIW1lNmrgJLeMpNImM="; 15 16 meta = with lib; { 17 description = "A simple Go-based server for map tiles stored in mbtiles format"; 18 homepage = "https://github.com/consbio/mbtileserver"; 19 changelog = "https://github.com/consbio/mbtileserver/blob/v${version}/CHANGELOG.md"; 20 license = licenses.isc; 21 maintainers = with maintainers; [ sikmir ]; 22 platforms = platforms.unix; 23 }; 24}