Merge pull request #34509 from dotlambda/ttwatch
ttwatch: 2017-12-31 -> 2018-02-01
This commit is contained in:
commit
374d6dcf2a
@ -1,19 +1,22 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1 }:
|
||||
{ stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1
|
||||
, enableUnsafe ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ttwatch-${version}";
|
||||
version = "2017-12-31";
|
||||
version = "2018-02-01";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ryanbinns";
|
||||
repo = "ttwatch";
|
||||
rev = "a261851d91e3304a47a04995758f6940747bc54a";
|
||||
sha256 = "0llcai1yxikh8nvzry71rr1zz365rg0k0lwp24np5w74kzza3kwx";
|
||||
rev = "b5c54647ed9b640584e53c4c15ee12d210790021";
|
||||
sha256 = "136sskz9hnbwp49gxp983mswzgpl8yfc25ni79csbsnwp0k4lb94";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake perl ];
|
||||
buildInputs = [ openssl curl libusb1 ];
|
||||
|
||||
cmakeFlags = stdenv.lib.optional enableUnsafe [ "-Dunsafe=on" ];
|
||||
|
||||
preFixup = ''
|
||||
chmod +x $out/bin/ttbin2mysports
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user