summary refs log tree commit diff
path: root/pkgs/applications/graphics/panotools/default.nix
blob: 17e1b2e8b1466874b5270029ecd46159136a1fe9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ fetchurl, stdenv, libjpeg, libpng, libtiff, perl }:

stdenv.mkDerivation rec {
  name = "libpano13-2.9.18";

  src = fetchurl {
    url = "mirror://sourceforge/panotools/${name}.tar.gz";
    sha256 = "0wm1r9waa47n482yrl3hnphicdahr581rahgbklk0d2wy51lwpfy";
  };

  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 = "GPLv2+";

    platforms = stdenv.lib.platforms.gnu;  # arbitrary choice
  };
}