summary refs log tree commit diff
path: root/pkgs/development/libraries/qjson/default.nix
blob: 4308b46c5c1fd8795f8a2b30c0d4f9b89d59356b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, stdenv, fetchFromGitHub, cmake, qtbase }:

stdenv.mkDerivation rec {
  version = "0.9.0";
  pname = "qjson";

  src = fetchFromGitHub {
    owner = "flavio";
    repo = "qjson";
    rev = version;
    sha256 = "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ qtbase ];
  dontWrapQtApps = true;

  meta = with lib; {
    description = "Lightweight data-interchange format";
    homepage = "https://qjson.sourceforge.net/";
    license = licenses.lgpl21;
  };
}