nixpkgs/pkgs/by-name/pa/panotools/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
846 B
Nix
Raw Normal View History

2023-10-16 20:57:52 +00:00
{ lib
, stdenv
, fetchurl
, cmake
, libjpeg
, libpng
, libtiff
, perl
, darwin
}:
2023-10-16 20:57:52 +00:00
stdenv.mkDerivation (finalAttrs: {
pname = "libpano13";
2023-09-26 23:33:37 +00:00
version = "2.9.22";
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=";
};
2023-10-16 20:57:52 +00:00
strictDeps = true;
2023-10-16 20:57:52 +00:00
nativeBuildInputs = [
cmake
perl
2023-10-16 20:57:52 +00:00
];
buildInputs = [
libjpeg
libpng
libtiff
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
darwin.apple_sdk.frameworks.Carbon
];
meta = {
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;
};
2023-10-16 20:57:52 +00:00
})