about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/graphics/panotools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/graphics/panotools/default.nix')
-rw-r--r--nixpkgs/pkgs/applications/graphics/panotools/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/graphics/panotools/default.nix b/nixpkgs/pkgs/applications/graphics/panotools/default.nix
new file mode 100644
index 000000000000..719aca5096a5
--- /dev/null
+++ b/nixpkgs/pkgs/applications/graphics/panotools/default.nix
@@ -0,0 +1,23 @@
+{ fetchurl, stdenv, libjpeg, libpng, libtiff, perl }:
+
+stdenv.mkDerivation rec {
+  name = "libpano13-2.9.19";
+
+  src = fetchurl {
+    url = "mirror://sourceforge/panotools/${name}.tar.gz";
+    sha256 = "1a4m3plmfcrrplqs9zfzhc5apibn10m5sajpizm1sd3q74w5fwq3";
+  };
+
+  buildInputs = [ perl libjpeg libpng libtiff ];
+
+  # one of the tests succeeds on my machine but fails on Hydra (no idea why)
+  #doCheck = true;
+
+  meta = {
+    homepage = http://panotools.sourceforge.net/;
+    description = "Free software suite for authoring and displaying virtual reality panoramas";
+    license = stdenv.lib.licenses.gpl2Plus;
+
+    platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;  # arbitrary choice
+  };
+}