about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/garmintools
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/garmintools')
-rw-r--r--nixpkgs/pkgs/development/libraries/garmintools/default.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/garmintools/default.nix b/nixpkgs/pkgs/development/libraries/garmintools/default.nix
new file mode 100644
index 000000000000..97449d944ec3
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/garmintools/default.nix
@@ -0,0 +1,16 @@
+{ stdenv, fetchurl, libusb-compat-0_1 }:
+stdenv.mkDerivation {
+  name = "garmintools-0.10";
+  src = fetchurl {
+    url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/garmintools/garmintools-0.10.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 = stdenv.lib.licenses.gpl2;
+    maintainers = [ ];
+    platforms = stdenv.lib.platforms.unix;
+  };
+}