mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
b311625526
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.
23 lines
583 B
Nix
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;
|
|
};
|
|
}
|