1{ stdenv, fetchurl, zlib, openssl, libiconv }:
2
3stdenv.mkDerivation rec {
4 version = "3.49.2";
5 name = "httrack-${version}";
6
7 src = fetchurl {
8 url = "http://mirror.httrack.com/httrack-${version}.tar.gz";
9 sha256 = "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl";
10 };
11
12 buildInputs = [ zlib openssl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;
13
14 enableParallelBuilding = true;
15
16 meta = with stdenv.lib; {
17 description = "Easy-to-use offline browser / website mirroring utility";
18 homepage = http://www.httrack.com;
19 license = licenses.gpl3;
20 maintainers = with maintainers; [ the-kenny ];
21 platforms = with platforms; unix;
22 };
23}