1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/tools/graphics/pfstools/default.nix

38 lines
975 B
Nix
Raw Normal View History

2017-12-15 15:45:30 +00:00
{ stdenv, fetchurl, cmake, pkgconfig
, openexr, zlib, imagemagick, libGLU_combined, freeglut, fftwFloat
, fftw, gsl, libexif, perl, opencv, qt5
2017-12-15 15:45:30 +00:00
}:
stdenv.mkDerivation rec {
2017-12-15 15:45:30 +00:00
name = "${pname}-${version}";
pname = "pfstools";
version = "2.1.0";
src = fetchurl {
2017-12-15 15:45:30 +00:00
url = "mirror://sourceforge/${pname}/${version}/${name}.tgz";
sha256 = "04rlb705gmdiphcybf9dyr0d5lla2cfs3c308zz37x0vwi445six";
};
outputs = [ "out" "dev" "man"];
2016-07-22 18:17:18 +01:00
cmakeFlags = ''
-DWITH_MATLAB=false
'';
2016-07-22 18:17:18 +01:00
nativeBuildInputs = [ cmake pkgconfig ];
2017-12-15 15:45:30 +00:00
buildInputs = [
openexr zlib imagemagick libGLU_combined freeglut fftwFloat
fftw gsl libexif perl opencv qt5.qtbase
2017-12-15 15:45:30 +00:00
];
2016-07-22 18:17:18 +01:00
patches = [ ./threads.patch ./pfstools.patch ];
meta = with stdenv.lib; {
homepage = http://pfstools.sourceforge.net/;
description = "Toolkit for manipulation of HDR images";
2016-07-22 18:17:18 +01:00
platforms = platforms.linux;
license = licenses.lgpl2;
maintainers = [ maintainers.juliendehos ];
};
}