19 stdenv.mkDerivation rec {
20 pname = "apt-cacher-ng";
24 url = "mirror://debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
25 sha256 = "0pwsj9rf6a6q7cnfbpcrfq2gjcy7sylqzqqr49g2zi39lrrh8533";
29 # this patch fixes the build for glibc >= 2.38
31 name = "strlcpy-glibc238.patch";
32 url = "https://bugs.debian.org/cgi-bin/bugreport.cgi?att=0;bug=1052360;msg=10";
33 hash = "sha256-uhQj+ZcHCV36Tm0pF/+JG59bSaRdTZCrMcKL3YhZTk8=";
37 nativeBuildInputs = [ cmake doxygen pkg-config ];
38 buildInputs = [ bzip2 fuse libevent xz openssl systemd tcp_wrappers zlib c-ares ];
41 description = "Caching proxy specialized for Linux distribution files";
42 mainProgram = "apt-cacher-ng";
43 homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
44 license = licenses.bsdOriginal;
45 platforms = platforms.linux;
46 maintainers = [ maintainers.makefu ];