nur-packages

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

hr.nix (779B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchFromGitHub,
      5   bc,
      6   cgpsmapper,
      7   gmaptool,
      8   mapsoft2,
      9 }:
     10 
     11 stdenv.mkDerivation {
     12   pname = "slazav-hr";
     13   version = "2021-02-07";
     14 
     15   src = fetchFromGitHub {
     16     owner = "slazav";
     17     repo = "map_hr";
     18     rev = "f476649b5ff12fb6fa037e6fb023c1da19639b84";
     19     sha256 = "0z2782smylf62ank8bpdhnvldqy46xai8ahg87yfyl203zcpp07h";
     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 mountains";
     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 }