nur-packages

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

podm.nix (791B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   bc,
      6   cgpsmapper,
      7   gmaptool,
      8   mapsoft2,
      9 }:
     10 
     11 stdenv.mkDerivation {
     12   pname = "slazav-podm";
     13   version = "2021-01-09";
     14 
     15   src = fetchFromGitHub {
     16     owner = "slazav";
     17     repo = "map_podm";
     18     rev = "c95a381155986f9f621e5d26b21bda041ad8c24f";
     19     sha256 = "0jsrjzmg23rp3ay5149llqrq6pnr66wf7siphwn7gisz5g60pgpf";
     20   };
     21 
     22   nativeBuildInputs = [
     23     bc
     24     cgpsmapper
     25     gmaptool
     26     mapsoft2
     27   ];
     28 
     29   buildFlags = [
     30     "directories"
     31     "reg_img"
     32   ];
     33 
     34   installPhase = "install -Dm644 OUT/all_*.img -t $out";
     35 
     36   meta = {
     37     description = "Slazav Moscow region map";
     38     homepage = "http://slazav.xyz/maps/";
     39     license = lib.licenses.free;
     40     maintainers = [ lib.maintainers.sikmir ];
     41     platforms = lib.platforms.all;
     42     skip.ci = true;
     43   };
     44 }