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