2023-10-16 20:57:52 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, cmake
|
|
|
|
, libjpeg
|
|
|
|
, libpng
|
|
|
|
, libtiff
|
|
|
|
, perl
|
|
|
|
, darwin
|
|
|
|
}:
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2023-10-16 20:57:52 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2021-04-12 08:40:23 +00:00
|
|
|
pname = "libpano13";
|
2023-09-26 23:33:37 +00:00
|
|
|
version = "2.9.22";
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2010-11-12 22:02:08 +00:00
|
|
|
src = fetchurl {
|
2023-10-16 20:57:52 +00:00
|
|
|
url = "mirror://sourceforge/panotools/libpano13-${finalAttrs.version}.tar.gz";
|
|
|
|
hash = "sha256-r/xoMM2+ccKNJzHcv43qKs2m2f/UYJxtvzugxoRAqOM=";
|
2009-04-05 21:41:24 +00:00
|
|
|
};
|
|
|
|
|
2023-10-16 20:57:52 +00:00
|
|
|
strictDeps = true;
|
2009-04-05 21:41:24 +00:00
|
|
|
|
2023-10-16 20:57:52 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
2024-06-19 09:45:10 +00:00
|
|
|
perl
|
2023-10-16 20:57:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libjpeg
|
|
|
|
libpng
|
|
|
|
libtiff
|
|
|
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
|
|
|
|
darwin.apple_sdk.frameworks.Carbon
|
|
|
|
];
|
2009-04-05 21:41:24 +00:00
|
|
|
|
|
|
|
meta = {
|
2009-04-06 09:34:28 +00:00
|
|
|
description = "Free software suite for authoring and displaying virtual reality panoramas";
|
2023-10-16 20:57:52 +00:00
|
|
|
homepage = "https://panotools.sourceforge.net/";
|
2021-01-15 13:21:58 +00:00
|
|
|
license = lib.licenses.gpl2Plus;
|
2023-10-16 20:57:52 +00:00
|
|
|
maintainers = [ lib.maintainers.wegank ];
|
|
|
|
platforms = lib.platforms.unix;
|
2009-04-05 21:41:24 +00:00
|
|
|
};
|
2023-10-16 20:57:52 +00:00
|
|
|
})
|