1 { lib, stdenv, fetchurl, libusb-compat-0_1 }:
2 stdenv.mkDerivation rec {
6 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/${pname}-${version}.tar.gz";
7 sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz";
9 buildInputs = [ libusb-compat-0_1 ];
11 description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface";
12 homepage = "https://code.google.com/archive/p/garmintools/"; # community clone at https://github.com/ianmartin/garmintools
13 license = lib.licenses.gpl2;
15 platforms = lib.platforms.unix;
16 # never built on aarch64-darwin since first introduction in nixpkgs
17 broken = stdenv.isDarwin && stdenv.isAarch64;