1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/graphics/panotools/default.nix

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

44 lines
833 B
Nix
Raw Normal View History

2023-10-16 21:57:52 +01:00
{ lib
, stdenv
, fetchurl
, cmake
, libjpeg
, libpng
, libtiff
, perl
, darwin
}:
2023-10-16 21:57:52 +01:00
stdenv.mkDerivation (finalAttrs: {
pname = "libpano13";
2023-09-27 00:33:37 +01:00
version = "2.9.22";
src = fetchurl {
2023-10-16 21:57:52 +01:00
url = "mirror://sourceforge/panotools/libpano13-${finalAttrs.version}.tar.gz";
hash = "sha256-r/xoMM2+ccKNJzHcv43qKs2m2f/UYJxtvzugxoRAqOM=";
};
2023-10-16 21:57:52 +01:00
strictDeps = true;
2023-10-16 21:57:52 +01:00
nativeBuildInputs = [
cmake
];
buildInputs = [
libjpeg
libpng
libtiff
perl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Carbon
];
meta = {
description = "Free software suite for authoring and displaying virtual reality panoramas";
2023-10-16 21:57:52 +01:00
homepage = "https://panotools.sourceforge.net/";
2021-01-15 13:21:58 +00:00
license = lib.licenses.gpl2Plus;
2023-10-16 21:57:52 +01:00
maintainers = [ lib.maintainers.wegank ];
platforms = lib.platforms.unix;
};
2023-10-16 21:57:52 +01:00
})