depot/third_party/nixpkgs/pkgs/applications/graphics/panotools/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

25 lines
766 B
Nix

{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl, cmake }:
stdenv.mkDerivation rec {
pname = "libpano13";
version = "2.9.22";
src = fetchurl {
url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz";
sha256 = "sha256-r/xoMM2+ccKNJzHcv43qKs2m2f/UYJxtvzugxoRAqOM=";
};
buildInputs = [ perl libjpeg libpng libtiff ];
nativeBuildInputs = [ cmake ];
# one of the tests succeeds on my machine but fails on Hydra (no idea why)
#doCheck = true;
meta = {
homepage = "https://panotools.sourceforge.net/";
description = "Free software suite for authoring and displaying virtual reality panoramas";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
};
}