2019-08-08 19:35:32 +01:00
|
|
|
{ stdenv, fetchurl, cmake, libusb }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "garmindev";
|
2019-08-08 19:35:32 +01:00
|
|
|
version = "0.3.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://bitbucket.org/maproom/qlandkarte-gt/downloads/${pname}-${version}.tar.gz";
|
2019-08-08 19:35:32 +01:00
|
|
|
sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
buildInputs = [ libusb ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.qlandkarte.org/;
|
|
|
|
description = "Garmin Device Drivers for QlandkarteGT";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ sikmir ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|