nixpkgs/pkgs/tools/backup/httrack/default.nix

23 lines
624 B
Nix
Raw Normal View History

2015-09-30 07:33:54 +00:00
{ 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";
pname = "httrack";
2013-07-25 08:21:22 +00:00
src = fetchurl {
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;
meta = with stdenv.lib; {
description = "Easy-to-use offline browser / website mirroring utility";
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
};
}