From f528440f0532ea18687fa1a570d03ac88f5b29f2 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 4 Jul 2010 20:59:47 +0000 Subject: [PATCH] Add qjson svn path=/nixpkgs/trunk/; revision=22451 --- pkgs/development/libraries/qjson/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/development/libraries/qjson/default.nix 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