Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.1.2 with grep in /nix/store/ak7p93w4pkmjvx5fi82fg40rra5z6g44-nlohmann_json-3.1.2
- directory tree listing: https://gist.github.com/cebf8a5968a9c2ae65ec58227044fcad
Semi-automatic update. These checks were performed:
- built on NixOS
- found 3.1.1 with grep in /nix/store/4pydihqzddnsfmlc2zcn6qlwi7m2p1k1-nlohmann_json-3.1.1
- found 3.1.1 in filename of file in /nix/store/4pydihqzddnsfmlc2zcn6qlwi7m2p1k1-nlohmann_json-3.1.1
`cmake` should be in `nativeBuildInputs` as it is only required at build time. For obvious reasons we can't have the tests running during a cross-compile. I figured I'd update the package version while I was at it, though these changes have also been tested independently of the version update.