about summary refs log tree commit diff
path: root/pkgs/applications/graphics/panotools/default.nix
blob: 52351fab4ce586b23538af6f4b30ff49b78a6e37 (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
24
{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl }:

stdenv.mkDerivation rec {
  pname = "libpano13";
  version = "2.9.20";

  src = fetchurl {
    url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz";
    sha256 = "12cv4886l1czfjwy7k6ipgf3zjksgwhdjzr2s9fdg33vqcv2hlrv";
  };

  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 = lib.licenses.gpl2Plus;

    platforms = lib.platforms.gnu ++ lib.platforms.linux;  # arbitrary choice
  };
}