nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (793B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5   unstableGitUpdater,
      6 }:
      7 
      8 buildGoModule {
      9   pname = "go-staticmaps";
     10   version = "0-unstable-2025-02-06";
     11 
     12   src = fetchFromGitHub {
     13     owner = "flopp";
     14     repo = "go-staticmaps";
     15     rev = "47d062eaabcee02a9008db85b959e089314bde94";
     16     hash = "sha256-jnM2GrN4HyVGarnopH0DCmI+Gfh4DLHWZNqiJu0GrwA=";
     17   };
     18 
     19   patches = [ ./extra-tileproviders.patch ];
     20 
     21   vendorHash = "sha256-NrkwyKcVZ1IJv70CIOXD+GCvFhuKoEPYSi9V4sHrkcs=";
     22 
     23   passthru.updateScript = unstableGitUpdater { };
     24 
     25   meta = {
     26     description = "A go (golang) library and command line tool to render static map images using OpenStreetMap tiles";
     27     homepage = "https://github.com/flopp/go-staticmaps";
     28     license = lib.licenses.mit;
     29     maintainers = [ lib.maintainers.sikmir ];
     30   };
     31 }