default.nix (695B)
1 { lib, buildGoModule, fetchFromGitHub }: 2 3 buildGoModule rec { 4 pname = "go-staticmaps"; 5 version = "0-unstable-2021-12-31"; 6 7 src = fetchFromGitHub { 8 owner = "flopp"; 9 repo = "go-staticmaps"; 10 rev = "56e3560e444bd7855f8de837dd491cb0a4bd5ae9"; 11 hash = "sha256-r1PQ45hLy/akquN1vhuhCu+71E8ptjT1boCXupbH8lw="; 12 }; 13 14 patches = [ ./extra-tileproviders.patch ]; 15 16 vendorHash = "sha256-VwdQsm7VghVtX2O41jNxILTuiLff4rTfXP41+IzUmMs="; 17 18 meta = with lib; { 19 description = "A go (golang) library and command line tool to render static map images using OpenStreetMap tiles"; 20 inherit (src.meta) homepage; 21 license = licenses.mit; 22 maintainers = [ maintainers.sikmir ]; 23 }; 24 }