at 24.11-pre 19 lines 850 B view raw
1{ lib, stdenv, fetchurl, libusb-compat-0_1 }: 2stdenv.mkDerivation rec { 3 pname = "garmintools"; 4 version = "0.10"; 5 src = fetchurl { 6 url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/${pname}-${version}.tar.gz"; 7 sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz"; 8 }; 9 buildInputs = [ libusb-compat-0_1 ]; 10 meta = { 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; 14 maintainers = [ ]; 15 platforms = lib.platforms.unix; 16 # never built on aarch64-darwin since first introduction in nixpkgs 17 broken = stdenv.isDarwin && stdenv.isAarch64; 18 }; 19}