about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/backup/httrack/default.nix
blob: 9a77153e2ff3f41920b395b720895f0e849cb3e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, zlib, openssl, libiconv }:

stdenv.mkDerivation rec {
  version = "3.49.2";
  pname = "httrack";

  src = fetchurl {
    url = "https://mirror.httrack.com/httrack-${version}.tar.gz";
    sha256 = "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl";
  };

  buildInputs = [ zlib openssl ] ++ stdenv.lib.optional stdenv.isDarwin libiconv;

  enableParallelBuilding = true;

  meta = with stdenv.lib; {
    description = "Easy-to-use offline browser / website mirroring utility";
    homepage    = "http://www.httrack.com";
    license     = licenses.gpl3;
    platforms   = with platforms; unix;
  };
}