2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl, zlib, openssl, libiconv }:
|
2013-07-25 10:21:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-08-30 08:26:28 +02:00
|
|
|
version = "3.49.2";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "httrack";
|
2013-07-25 10:21:22 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://mirror.httrack.com/httrack-${version}.tar.gz";
|
2017-08-30 08:26:28 +02:00
|
|
|
sha256 = "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl";
|
2013-07-25 10:21:22 +02:00
|
|
|
};
|
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
buildInputs = [ zlib openssl ] ++ lib.optional stdenv.isDarwin libiconv;
|
2013-07-25 10:21:22 +02:00
|
|
|
|
2017-08-30 08:26:28 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-08-30 08:26:28 +02:00
|
|
|
description = "Easy-to-use offline browser / website mirroring utility";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.httrack.com";
|
2017-08-30 08:26:28 +02:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = with platforms; unix;
|
2013-07-25 10:21:22 +02:00
|
|
|
};
|
|
|
|
}
|