2022-05-22 16:45:16 +00:00
|
|
|
{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl, cmake }:
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2010-11-12 22:02:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2021-04-12 08:40:23 +00:00
|
|
|
pname = "libpano13";
|
2022-05-22 16:45:16 +00:00
|
|
|
version = "2.9.21";
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2010-11-12 22:02:08 +00:00
|
|
|
src = fetchurl {
|
2021-04-12 08:40:23 +00:00
|
|
|
url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz";
|
2022-05-22 16:45:16 +00:00
|
|
|
sha256 = "sha256-eeWhRSGZMF4pYUYnIO9ZQRUnecEnxblvw0DSSS5jNZA=";
|
2009-04-05 21:41:24 +00:00
|
|
|
};
|
|
|
|
|
2010-11-12 22:02:08 +00:00
|
|
|
buildInputs = [ perl libjpeg libpng libtiff ];
|
2022-05-22 16:45:16 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2013-03-09 12:15:59 +00:00
|
|
|
# one of the tests succeeds on my machine but fails on Hydra (no idea why)
|
|
|
|
#doCheck = true;
|
2009-04-05 21:41:24 +00:00
|
|
|
|
|
|
|
meta = {
|
2023-01-21 21:41:12 +00:00
|
|
|
homepage = "https://panotools.sourceforge.net/";
|
2009-04-06 09:34:28 +00:00
|
|
|
description = "Free software suite for authoring and displaying virtual reality panoramas";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2010-11-12 22:02:08 +00:00
|
|
|
|
2021-01-15 13:21:58 +00:00
|
|
|
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
2009-04-05 21:41:24 +00:00
|
|
|
};
|
|
|
|
}
|