nixpkgs/pkgs/development/libraries/qjson/default.nix

23 lines
508 B
Nix
Raw Normal View History

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