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