9833d56c24
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken Tool is still WIP but this is one of the first results. I manually audited the results and removed some results that were not valid. Note that some of these packages maybe should have more constrained platforms set instead of broken set, but I think not being perfectly correct is better than just keep trying to build all these things and never succeeding. Some observations: - Some darwin builds require XCode tools - aarch64-linux builds sometimes suffer from using gcc9 - gcc9 is getting older and misses some new libraries/features - Sometimes tools try to do system detection or expect some explicit settings for platforms that are not x86_64-linux
19 lines
850 B
Nix
19 lines
850 B
Nix
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "garmintools";
|
|
version = "0.10";
|
|
src = fetchurl {
|
|
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/${pname}-${version}.tar.gz";
|
|
sha256 = "1vjc8h0z4kx2h52yc3chxn3wh1krn234fg12sggbia9zjrzhpmgz";
|
|
};
|
|
buildInputs = [ libusb-compat-0_1 ];
|
|
meta = {
|
|
description = "Provides the ability to communicate with the Garmin Forerunner 305 via the USB interface";
|
|
homepage = "https://code.google.com/archive/p/garmintools/"; # community clone at https://github.com/ianmartin/garmintools
|
|
license = lib.licenses.gpl2;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
# never built on aarch64-darwin since first introduction in nixpkgs
|
|
broken = stdenv.isDarwin && stdenv.isAarch64;
|
|
};
|
|
}
|