mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
mbtileserver: 0.8.0 → 0.8.1
This commit is contained in:
parent
8b29f932f0
commit
9da7100e0d
|
@ -1,22 +1,16 @@
|
|||
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "mbtileserver";
|
||||
version = "0.8.0";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "consbio";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-0wSc2DIfK6o3kSiH2sSQcYRR5dHnQbnJC6SX6DwVk1c=";
|
||||
sha256 = "sha256-C6Gz+RBUrjnfJWo4Ou+s/JYJ8iVP9FMYJ/cxJjcVsXk=";
|
||||
};
|
||||
|
||||
# https://github.com/consbio/mbtileserver/issues/130
|
||||
postPatch = lib.optionalString stdenv.isAarch64 ''
|
||||
substituteInPlace handlers/tile_test.go \
|
||||
--replace "Test_CalcScaleResolution" "Skip_CalcScaleResolution"
|
||||
'';
|
||||
|
||||
vendorSha256 = "sha256-36tUTZud0hxH9oZlnKxeK/xzoEzfw3xFMnd/r0srw6U=";
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue