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