summary refs log tree commit diff
path: root/pkgs/tools/misc/ttwatch
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2017-09-21 16:02:38 +0200
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2017-09-22 10:45:31 +0200
commit723042efa9e722e4540a535ae92fe463a1067540 (patch)
tree859dc38672e942b1f4539569ac909c24700eb926 /pkgs/tools/misc/ttwatch
parent6075d4ad07bb9a1d105db7f6e0dfda60a3099ec6 (diff)
downloadnixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar.gz
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar.bz2
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar.lz
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar.xz
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.tar.zst
nixpkgs-723042efa9e722e4540a535ae92fe463a1067540.zip
ttwatch: init at 2017-04-20
Diffstat (limited to 'pkgs/tools/misc/ttwatch')
-rw-r--r--pkgs/tools/misc/ttwatch/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ttwatch/default.nix b/pkgs/tools/misc/ttwatch/default.nix
new file mode 100644
index 00000000000..855baa83060
--- /dev/null
+++ b/pkgs/tools/misc/ttwatch/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1 }:
+
+stdenv.mkDerivation rec {
+  name = "ttwatch-${version}";
+  version = "2017-04-20";
+
+  src = fetchFromGitHub {
+    owner = "ryanbinns";
+    repo = "ttwatch";
+    rev = "f07a12712ed331f1530db3846828641eb0e2f5c5";
+    sha256 = "0y27bldmp6w02pjhr2cmy9g6n23vi0q26pil3rd7vbg4qjahxz27";
+  };
+
+  nativeBuildInputs = [ cmake perl ];
+  buildInputs = [ openssl curl libusb1 ];
+
+  preFixup = ''
+    chmod +x $out/bin/ttbin2mysports
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/ryanbinns/ttwatch;
+    description = "Linux TomTom GPS Watch Utilities";
+    maintainers = with maintainers; [ dotlambda ];
+    license = licenses.mit;
+    platforms = with platforms; linux;
+  };
+}