2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, qt4 }:
|
2010-07-04 21:59:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-21 17:50:47 +01:00
|
|
|
version = "0.9.0";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "qjson";
|
2010-07-04 21:59:47 +01:00
|
|
|
|
2016-11-04 13:36:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "flavio";
|
|
|
|
repo = "qjson";
|
2019-09-09 00:38:31 +01:00
|
|
|
rev = version;
|
2017-08-21 17:50:47 +01:00
|
|
|
sha256 = "1f4wnxzx0qdmxzc7hqk28m0sva7z9p9xmxm6aifvjlp0ha6pmfxs";
|
2010-07-04 21:59:47 +01:00
|
|
|
};
|
|
|
|
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ qt4 ];
|
2010-07-04 21:59:47 +01:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-10-27 13:54:53 +01:00
|
|
|
description = "Lightweight data-interchange format";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://qjson.sourceforge.net/";
|
2018-10-27 13:54:53 +01:00
|
|
|
license = licenses.lgpl21;
|
2010-07-04 21:59:47 +01:00
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|