1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/tools/graphics/pfstools/default.nix

32 lines
923 B
Nix
Raw Normal View History

2016-07-22 18:17:18 +01:00
{ stdenv, fetchurl, cmake, pkgconfig, openexr, ilmbase, zlib, imagemagick, mesa, freeglut, fftwFloat, fftw, gsl, libexif, perl, opencv, qt4 }:
stdenv.mkDerivation rec {
2016-07-22 18:17:18 +01:00
name = "pfstools";
version = "2.0.5";
src = fetchurl {
2016-07-22 18:17:18 +01:00
url = "mirror://sourceforge/${name}/${version}/${name}-${version}.tgz";
sha256 = "1fyc2c7jzr7k797c2dqyyvapzc3szxwcp48r382yxz2yq558xgd9";
};
outputs = [ "out" "dev" "doc"];
2016-07-22 18:17:18 +01:00
cmakeFlags = ''
-DWITH_MATLAB=false
'';
2016-07-22 18:17:18 +01:00
buildInputs = [ openexr zlib imagemagick mesa freeglut fftwFloat fftw gsl libexif perl opencv qt4 ];
2016-07-22 18:17:18 +01:00
nativeBuildInputs = [ cmake pkgconfig ];
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 ];
};
}