forked from mirrors/nixpkgs
c3182eace3
Fixes CVE-2021-33293 https://sourceforge.net/projects/panotools/files/libpano13/libpano13-2.9.21/
26 lines
765 B
Nix
26 lines
765 B
Nix
{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl, cmake }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libpano13";
|
|
version = "2.9.21";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz";
|
|
sha256 = "sha256-eeWhRSGZMF4pYUYnIO9ZQRUnecEnxblvw0DSSS5jNZA=";
|
|
};
|
|
|
|
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 = "http://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
|
|
};
|
|
}
|