Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 22 lines 506 B view raw
1{ 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 buildInputs = [ cmake qt4 ]; 15 16 meta = with stdenv.lib; { 17 description = "Lightweight data-interchange format"; 18 homepage = http://qjson.sourceforge.net/; 19 license = licenses.lgpl21; 20 inherit (qt4.meta) platforms; 21 }; 22}