summary refs log tree commit diff
path: root/pkgs/applications/graphics/panotools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/panotools/default.nix')
-rw-r--r--pkgs/applications/graphics/panotools/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/panotools/default.nix b/pkgs/applications/graphics/panotools/default.nix
new file mode 100644
index 00000000000..90bc8e64b25
--- /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";
+  };
+}