diff --git a/pkgs/development/libraries/qjson/default.nix b/pkgs/development/libraries/qjson/default.nix new file mode 100644 index 000000000000..a4b146ff424f --- /dev/null +++ b/pkgs/development/libraries/qjson/default.nix @@ -0,0 +1,17 @@ +{ stdenv, fetchurl, cmake, qt4 }: + +stdenv.mkDerivation rec { + name = "qjson-0.7.1"; + + src = fetchurl { + url = "mirror://sf/qjson/${name}.tar.bz2"; + sha256 = "155r7nypgnsvjc6w3q51zmjchpqxi4c3azad9cf1fip8bws993iv"; + }; + + buildInputs = [ cmake qt4 ]; + + meta = { + maintainers = [ stdenv.lib.maintainers.urkud ]; + inherit (qt4.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ef97816df423..043a23d3f2fa 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5162,6 +5162,10 @@ let inherit fetchurl stdenv; }; + qjson = makeOverridable (import ../development/libraries/qjson) { + inherit stdenv fetchurl qt4 cmake; + }; + qt3 = makeOverridable (import ../development/libraries/qt-3) { inherit fetchurl stdenv x11 zlib libjpeg libpng which mysql mesa; inherit (xlibs) xextproto libXft libXrender libXrandr randrproto