nur-packages

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

garmindev.nix (683B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   cmake,
      6   libusb-compat-0_1,
      7 }:
      8 
      9 stdenv.mkDerivation rec {
     10   pname = "garmindev";
     11   version = "0.3.4";
     12 
     13   src = fetchurl {
     14     url = "mirror://sourceforge/qlandkartegt/${pname}-${version}.tar.gz";
     15     sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
     16   };
     17 
     18   nativeBuildInputs = [ cmake ];
     19 
     20   buildInputs = [ libusb-compat-0_1 ];
     21 
     22   env.NIX_CFLAGS_COMPILE = "-Wno-narrowing";
     23 
     24   meta = {
     25     homepage = "http://www.qlandkarte.org/";
     26     description = "Garmin Device Drivers for QlandkarteGT";
     27     license = lib.licenses.gpl2;
     28     maintainers = [ lib.maintainers.sikmir ];
     29     platforms = lib.platforms.linux;
     30     skip.ci = true;
     31   };
     32 }