3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/backup/httrack/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
673 B
Nix

{ 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;
maintainers = with maintainers; [ the-kenny ];
platforms = with platforms; unix;
};
}