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