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

stdenv.mkDerivation rec {
  version = "0.9.0";
  name = "qjson-${version}";

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

  buildInputs = [ cmake qt4 ];

  meta = with stdenv.lib; {
    description = "Lightweight data-interchange format";
    homepage = http://qjson.sourceforge.net/;
    license = licenses.lgpl21;
    inherit (qt4.meta) platforms;
  };
}