diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-07-04 20:59:47 +0000 |
---|---|---|
committer | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2010-07-04 20:59:47 +0000 |
commit | f528440f0532ea18687fa1a570d03ac88f5b29f2 (patch) | |
tree | 83a7427bb7c1fdd3d50dfb4a8296832c925acb61 | |
parent | 0642ef493535d253c87c991e9f4e20430ad21adc (diff) |
Add qjson
svn path=/nixpkgs/trunk/; revision=22451
-rw-r--r-- | pkgs/development/libraries/qjson/default.nix | 17 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qjson/default.nix b/pkgs/development/libraries/qjson/default.nix new file mode 100644 index 0000000000000..a4b146ff424f3 --- /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 ef97816df4232..043a23d3f2fa4 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 |