mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
8469abb6f5
Fixes CVE-2021-20307. Changelog: https://sourceforge.net/projects/panotools/files/libpano13/libpano13-2.9.20/
25 lines
726 B
Nix
25 lines
726 B
Nix
{ fetchurl, lib, stdenv, libjpeg, libpng, libtiff, perl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libpano13";
|
|
version = "2.9.20";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/panotools/${pname}-${version}.tar.gz";
|
|
sha256 = "12cv4886l1czfjwy7k6ipgf3zjksgwhdjzr2s9fdg33vqcv2hlrv";
|
|
};
|
|
|
|
buildInputs = [ perl libjpeg libpng libtiff ];
|
|
|
|
# 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
|
|
};
|
|
}
|