Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, zlib, openssl, libiconv }: 2 3stdenv.mkDerivation rec { 4 version = "3.49.2"; 5 pname = "httrack"; 6 7 src = fetchurl { 8 url = "https://mirror.httrack.com/httrack-${version}.tar.gz"; 9 sha256 = "09a0gm67nml86qby1k1gh7rdxamnrnzwr6l9r5iiq94favjs0xrl"; 10 }; 11 12 buildInputs = [ libiconv openssl zlib ]; 13 14 enableParallelBuilding = true; 15 16 meta = with lib; { 17 description = "Easy-to-use offline browser / website mirroring utility"; 18 homepage = "http://www.httrack.com"; 19 license = licenses.gpl3; 20 platforms = with platforms; unix; 21 }; 22}