Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #34509 from dotlambda/ttwatch

ttwatch: 2017-12-31 -> 2018-02-01

authored by Joachim F and committed by GitHub 374d6dcf 43f647e5

+7 -4
+7 -4
pkgs/tools/misc/ttwatch/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1 }: 1 + { stdenv, fetchFromGitHub, cmake, perl, openssl, curl, libusb1 2 + , enableUnsafe ? false }: 2 3 3 4 stdenv.mkDerivation rec { 4 5 name = "ttwatch-${version}"; 5 - version = "2017-12-31"; 6 + version = "2018-02-01"; 6 7 7 8 src = fetchFromGitHub { 8 9 owner = "ryanbinns"; 9 10 repo = "ttwatch"; 10 - rev = "a261851d91e3304a47a04995758f6940747bc54a"; 11 - sha256 = "0llcai1yxikh8nvzry71rr1zz365rg0k0lwp24np5w74kzza3kwx"; 11 + rev = "b5c54647ed9b640584e53c4c15ee12d210790021"; 12 + sha256 = "136sskz9hnbwp49gxp983mswzgpl8yfc25ni79csbsnwp0k4lb94"; 12 13 }; 13 14 14 15 nativeBuildInputs = [ cmake perl ]; 15 16 buildInputs = [ openssl curl libusb1 ]; 17 + 18 + cmakeFlags = stdenv.lib.optional enableUnsafe [ "-Dunsafe=on" ]; 16 19 17 20 preFixup = '' 18 21 chmod +x $out/bin/ttbin2mysports