Merge pull request #29643 from dotlambda/ttwatch

ttwatch: init at 2017-04-20
This commit is contained in:
Jörg Thalheim 2017-09-22 11:03:58 +01:00 committed by GitHub
commit 83f0659365
2 changed files with 30 additions and 0 deletions

View file

@ -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;
};
}

View file

@ -4896,6 +4896,8 @@ with pkgs;
ttmkfdir = callPackage ../tools/misc/ttmkfdir { };
ttwatch = callPackage ../tools/misc/ttwatch { };
udunits = callPackage ../development/libraries/udunits { };
uemacs = callPackage ../applications/editors/uemacs { };