From 7f9d11782ef8a8af7b18c22e7f9265d807ffaf16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 5 Apr 2009 21:41:24 +0000 Subject: [PATCH] Adding panotools. svn path=/nixpkgs/trunk/; revision=14893 --- .../graphics/panotools/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/applications/graphics/panotools/default.nix diff --git a/pkgs/applications/graphics/panotools/default.nix b/pkgs/applications/graphics/panotools/default.nix new file mode 100644 index 000000000000..90bc8e64b25d --- /dev/null +++ b/pkgs/applications/graphics/panotools/default.nix @@ -0,0 +1,23 @@ +{stdenv, fetchsvn, libjpeg, libpng, libtiff, automake, libtool, autoconf }: + +stdenv.mkDerivation { + name = "panotools-r955"; + + src = fetchsvn { + url = https://panotools.svn.sourceforge.net/svnroot/panotools/trunk/libpano; + rev = 955; + }; + + configurePhase = '' + export AUTOGEN_CONFIGURE_ARGS="--prefix $out" + ./bootstrap + ''; + + buildInputs = [ libjpeg libpng libtiff automake libtool autoconf ]; + + meta = { + homepage = http://panotools.sourceforge.net/; + description = "Panorama Tools"; + license = "GPL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e38b941d52aa..88235fa2ec7f 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8577,6 +8577,10 @@ let spellChecking = false; }; + panotools = import ../applications/graphics/panotools { + inherit stdenv fetchsvn libpng libjpeg libtiff automake libtool autoconf; + }; + paraview = import ../applications/graphics/paraview { inherit fetchurl stdenv cmake qt4; };