nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenv, fetchFromGitHub, cmake, qt4 }:
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 = [ qt4 ];
16
17 meta = with lib; {
18 description = "Lightweight data-interchange format";
19 homepage = "http://qjson.sourceforge.net/";
20 license = licenses.lgpl21;
21 inherit (qt4.meta) platforms;
22 };
23}