nixpkgs/pkgs/tools/backup/httrack/default.nix
Alyssa Ross b311625526
httrack: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-01-22 16:19:01 +00:00

23 lines
583 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 = [ libiconv openssl zlib ];
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;
};
}