1 { stdenv, mkDerivation, lib, fetchurl, cmake, pkg-config, makeWrapper
2 , httrack, qtbase, qtmultimedia }:
9 url = "mirror://sourceforge/httraqt/${pname}-${version}.tar.gz";
10 sha256 = "0pjxqnqchpbla4xiq4rklc06484n46cpahnjy03n9rghwwcad25b";
13 buildInputs = [ httrack qtbase qtmultimedia ];
15 nativeBuildInputs = [ cmake makeWrapper pkg-config ];
18 substituteInPlace cmake/HTTRAQTFindHttrack.cmake \
19 --replace /usr/include/httrack/ ${httrack}/include/httrack/
21 substituteInPlace distribution/posix/CMakeLists.txt \
22 --replace /usr/share $out/share
24 substituteInPlace desktop/httraqt.desktop \
25 --replace Exec=httraqt Exec=$out/bin/httraqt
27 substituteInPlace sources/main/httraqt.cpp \
28 --replace /usr/share/httraqt/ $out/share/httraqt
32 broken = stdenv.hostPlatform.isDarwin;
33 description = "Easy-to-use offline browser / website mirroring utility - QT frontend";
34 mainProgram = "httraqt";
35 homepage = "http://www.httrack.com";
36 license = licenses.gpl3;
37 maintainers = with maintainers; [ peterhoeg ];
38 platforms = with platforms; unix;