forked from mirrors/nixpkgs
23 lines
615 B
Nix
23 lines
615 B
Nix
{ lib, 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 ] ++ lib.optional stdenv.isDarwin libiconv;
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with lib; {
|
|
description = "Easy-to-use offline browser / website mirroring utility";
|
|
homepage = "http://www.httrack.com";
|
|
license = licenses.gpl3;
|
|
platforms = with platforms; unix;
|
|
};
|
|
}
|