Package Details: nlohmann-json-bin 3.6.1-3

Git Clone URL: https://aur.archlinux.org/nlohmann-json-bin.git (read-only)
Package Base: nlohmann-json-bin
Description: Header-only JSON library for Modern C++ (quick installation without testing)
Upstream URL: https://github.com/nlohmann/json
Keywords: c++ json nlohmann
Licenses: MIT
Conflicts: nlohmann-json, nlohmann-json-git
Provides: nlohmann-json
Submitter: bus
Maintainer: bus
Last Packager: bus
Votes: 4
Popularity: 0.007614
First Submitted: 2018-02-08 17:02
Last Updated: 2019-03-27 19:05

Dependencies (0)

Required by (7)

  • libbcd (requires nlohmann-json)
  • mtxclient (requires nlohmann-json) (make)
  • nheko (requires nlohmann-json) (make)
  • nix-git (requires nlohmann-json)
  • pothos (requires nlohmann-json) (make)
  • pothos-git (requires nlohmann-json) (make)
  • xeus (requires nlohmann-json)

Sources (2)

Latest Comments

Krasauskas commented on 2019-03-21 14:22

@bus Holy balls, batman, that was quick! Thanks a million!

bus commented on 2019-03-21 14:08

@Krasauskas Sorry, should be fixed now. If the error persists, you should clear the build directory of this package (location of which depends on which AUR helper you use).

Krasauskas commented on 2019-03-21 13:47

Hi, thanks for this package! I've run into a problem updating:

Validating source files with sha256sums...

include-3.6.1.zip ... Passed

LICENSE.MIT ... FAILED

Is there anything I can do on my end?

z3ntu commented on 2018-09-24 13:51

Thanks for this package! The non -bin package really seems overkill...

bus commented on 2018-04-02 17:51

@haawda Thanks for the tip! I didn't know about that renaming feature. It seems like a better way of handling the problem. I updated PKGBUILD.

haawda commented on 2018-04-02 17:28

rm ../include.zip does not work if $SRCDEST is set in makepkg.conf.

Use

rm $SRCDEST/include.zip

or rename the zipfile on the fly using ::-syntax in source array.

bus commented on 2018-02-08 17:29

Explanation for creation of a seemingly duplicate package:

Installing the nlohmann-json package requires downloading a 100MB source tarball, (which results in over 350MB of required free space during installation) as well as compiling and running a lot of unit tests. In the end it's a very computationally expensive process for the end result, which is putting one 600KB header file in the /usr/include directory.

It's a process I cannot afford on my Raspberry Pi (installation takes many hours) and I'd just rather not subject my more capable machines to.

The maintainer of nlohmann-json doesn't share my sentiment, so I had to create this -bin package. Even though the name is factually incorrect, it still achieves the same purpose as normal -bin packages -- skipping compilation.

I realize this is a bit silly, but I hope you understand my point of view.