about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/misc/qlandkartegt/garmindev.nix
blob: 07b58b72c494f1c7435da13c6ab2f01859e0fb62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchurl, cmake, libusb-compat-0_1 }:

stdenv.mkDerivation rec {
  pname = "garmindev";
  version = "0.3.4";

  src = fetchurl {
    url = "mirror://sourceforge/qlandkartegt/${pname}-${version}.tar.gz";
    sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
  };

  nativeBuildInputs = [ cmake ];

  buildInputs = [ libusb-compat-0_1 ];

  meta = with lib; {
    homepage = "http://www.qlandkarte.org/";
    description = "Garmin Device Drivers for QlandkarteGT";
    license = licenses.gpl2;
    maintainers = with maintainers; [ sikmir ];
    platforms = [ "x86_64-linux" ];
  };
}