54 lines
942 B
Nix
54 lines
942 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
bzip2,
|
|
cmake,
|
|
doxygen,
|
|
fetchurl,
|
|
fuse,
|
|
libevent,
|
|
xz,
|
|
openssl,
|
|
pkg-config,
|
|
systemd,
|
|
tcp_wrappers,
|
|
zlib,
|
|
c-ares,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "apt-cacher-ng";
|
|
version = "3.7.5";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${finalAttrs.version}.orig.tar.xz";
|
|
hash = "sha256-LkiH1ocDljNJkqzNMx4Sy6ht/vhXUy9hC7BjWo4ykA0=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
doxygen
|
|
pkg-config
|
|
];
|
|
buildInputs = [
|
|
bzip2
|
|
fuse
|
|
libevent
|
|
xz
|
|
openssl
|
|
systemd
|
|
tcp_wrappers
|
|
zlib
|
|
c-ares
|
|
];
|
|
|
|
meta = {
|
|
description = "Caching proxy specialized for Linux distribution files";
|
|
mainProgram = "apt-cacher-ng";
|
|
homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
|
|
license = lib.licenses.bsdOriginal;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.makefu ];
|
|
};
|
|
})
|