mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
4bf065f7df
move perl to nativeBuildInputs
43 lines
833 B
Nix
43 lines
833 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchurl
|
|
, cmake
|
|
, libjpeg
|
|
, libpng
|
|
, libtiff
|
|
, perl
|
|
, darwin
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "libpano13";
|
|
version = "2.9.22";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/panotools/libpano13-${finalAttrs.version}.tar.gz";
|
|
hash = "sha256-r/xoMM2+ccKNJzHcv43qKs2m2f/UYJxtvzugxoRAqOM=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
perl
|
|
];
|
|
|
|
buildInputs = [
|
|
libjpeg
|
|
libpng
|
|
libtiff
|
|
] ++ lib.optionals stdenv.isDarwin [
|
|
darwin.apple_sdk.frameworks.Carbon
|
|
];
|
|
|
|
meta = {
|
|
description = "Free software suite for authoring and displaying virtual reality panoramas";
|
|
homepage = "https://panotools.sourceforge.net/";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ lib.maintainers.wegank ];
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
})
|