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