ttwatch: 2018-12-04 -> 2020-02-05

This commit is contained in:
Robert Schütz 2020-06-14 13:39:40 +02:00
parent 20e62aa580
commit c92b33df88

View File

@ -1,19 +1,21 @@
{ stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1 { stdenv, fetchFromGitHub
, cmake, perl, pkgconfig
, openssl, curl, libusb1, protobufc
, enableUnsafe ? false }: , enableUnsafe ? false }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "ttwatch"; pname = "ttwatch";
version = "2018-12-04"; version = "2020-02-05";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ryanbinns"; owner = "ryanbinns";
repo = "ttwatch"; repo = "ttwatch";
rev = "eeb4e19bf7ca7ca2cee7f5fbeb483b27198d86a1"; rev = "bfdf1372515574e1fb3871dc1039f8d8a5dbdada";
sha256 = "18384apdkq35120cgmda686d293354aibwcq2hwhvvjmnq49fnzr"; sha256 = "07nd4dbkchxy8js1h1f6pzn63pls2afww97wyiiw6zid43mpqyg4";
}; };
nativeBuildInputs = [ cmake perl ]; nativeBuildInputs = [ cmake perl pkgconfig ];
buildInputs = [ openssl curl libusb1 ]; buildInputs = [ openssl curl libusb1 protobufc ];
cmakeFlags = stdenv.lib.optional enableUnsafe [ "-Dunsafe=on" ]; cmakeFlags = stdenv.lib.optional enableUnsafe [ "-Dunsafe=on" ];