diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-07 22:47:30 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-07 22:47:30 +0000 |
commit | a4473b8205a3f3c980c06e3c7210c2764f4577b8 (patch) | |
tree | 469d50873647a7f6fcfd06a839076a6e2cc385f2 /pkgs/development/libraries/podofo | |
parent | de6f1897438dcdc3c078236a81c094ba1389a76e (diff) | |
download | nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar.gz nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar.bz2 nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar.lz nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar.xz nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.tar.zst nixlib-a4473b8205a3f3c980c06e3c7210c2764f4577b8.zip |
Adding calibre. This involved also:
- Adding podofo - Adding some new python packages - Making new pkgs attributes for python packages to build with python 2.6 - Updating some python packages expressions to allow python 2.6, and not only 2.5. svn path=/nixpkgs/trunk/; revision=19303
Diffstat (limited to 'pkgs/development/libraries/podofo')
-rw-r--r-- | pkgs/development/libraries/podofo/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/podofo/default.nix b/pkgs/development/libraries/podofo/default.nix new file mode 100644 index 000000000000..270d4da23deb --- /dev/null +++ b/pkgs/development/libraries/podofo/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, cmake, zlib, freetype, libjpeg, libtiff, fontconfig, +openssl}: + +stdenv.mkDerivation rec { + name = "podofo-0.7.0"; + src = fetchurl { + url = "mirror://sourceforge/podofo/${name}.tar.gz"; + sha256 = "1hpd5ldjv013041rmcfrkbk8v6wdpxcg60i3aklik583q2rf0mqy"; + }; + buildInputs = [ cmake zlib freetype libjpeg libtiff fontconfig openssl ]; + cmakeFlags = "-DPODOFO_BUILD_SHARED=ON -DPODOFO_BUILD_STATIC=OFF"; +} |