1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 08:05:40 +00:00
nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix
Martin Weinelt 1c7ad58742
apt-cacher-ng: 3.2 → 3.5
Fixes: CVE-2017-7443, CVE-2020-5202
2020-05-06 19:09:31 +02:00

36 lines
811 B
Nix

{ stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, libevent
, lzma
, openssl
, pkgconfig
, systemd
, tcp_wrappers
, zlib
}:
stdenv.mkDerivation rec {
pname = "apt-cacher-ng";
version = "3.5";
src = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
sha256 = "0h76n02nnpg7ir9247qrxb8p4d4p282nh13zrv5bb9sfm12pril2";
};
nativeBuildInputs = [ cmake doxygen pkgconfig ];
buildInputs = [ bzip2 fuse libevent lzma openssl systemd tcp_wrappers zlib ];
meta = with stdenv.lib; {
description = "A caching proxy specialized for linux distribution files";
homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.makefu ];
};
}