nur-packages

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

default.nix (806B)


      1 { lib, stdenvNoCC, fetchurl, unzip }:
      2 
      3 stdenvNoCC.mkDerivation rec {
      4   pname = "maptourist";
      5   version = "2022-02-22";
      6 
      7   src = fetchurl {
      8     url = "https://maptourist.org/osm-garmin/archive/OSM-MapTourist-szfo-RU_${version}.zip";
      9     hash = "sha256-lt48bXfWtTTVdARy0uMcRq+4StN1nFII+vn9R8GfU1c=";
     10   };
     11 
     12   sourceRoot = ".";
     13 
     14   nativeBuildInputs = [ unzip ];
     15 
     16   installPhase = "install -Dm644 *.img -t $out";
     17 
     18   preferLocalBuild = true;
     19 
     20   meta = with lib; {
     21     description = "Ежедневная сборка карт из данных OpenStreetMap для навигационных приборов и приложений Garmin";
     22     homepage = "https://maptourist.org";
     23     license = licenses.free;
     24     maintainers = [ maintainers.sikmir ];
     25     platforms = platforms.all;
     26     skip.ci = true;
     27   };
     28 }