nur-packages

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

default.nix (702B)


      1 {
      2   lib,
      3   stdenvNoCC,
      4   fetchurl,
      5 }:
      6 
      7 stdenvNoCC.mkDerivation (finalAttrs: {
      8   pname = "mtk-suomi";
      9   version = "2024-01-23";
     10 
     11   src = fetchurl {
     12     url = "https://kartat-dl.hylly.org/${finalAttrs.version}/mtk_suomi.img";
     13     hash = "sha256-DDAJwJdcluqzo6U/zzkUZ1aq6QSDspnLpNzLsgejcz0=";
     14   };
     15 
     16   preferLocalBuild = true;
     17 
     18   dontUnpack = true;
     19 
     20   installPhase = "install -Dm644 $src $out/mtk_suomi.img";
     21 
     22   meta = {
     23     description = "Maanmittauslaitoksen peruskartan tasoiset ja näköiset ilmaiset maastokartat";
     24     homepage = "https://kartat.hylly.org/";
     25     license = lib.licenses.free;
     26     maintainers = [ lib.maintainers.sikmir ];
     27     platforms = lib.platforms.all;
     28     skip.ci = true;
     29   };
     30 })