1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 qtbase,
7}:
8
9stdenv.mkDerivation rec {
10 version = "0.9.0";
11 pname = "qjson";
12
13 src = fetchFromGitHub {
14 owner = "flavio";
15 repo = "qjson";
16 rev = version;
17 sha256 = "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs";
18 };
19
20 nativeBuildInputs = [ cmake ];
21 buildInputs = [ qtbase ];
22 dontWrapQtApps = true;
23
24 meta = with lib; {
25 description = "Lightweight data-interchange format";
26 homepage = "https://qjson.sourceforge.net/";
27 license = licenses.lgpl21;
28 };
29}