2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, bzip2
|
|
|
|
, cmake
|
|
|
|
, doxygen
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
2020-05-15 21:57:56 +00:00
|
|
|
, libevent
|
2020-04-24 23:36:52 +00:00
|
|
|
, lzma
|
|
|
|
, openssl
|
2021-02-05 17:12:51 +00:00
|
|
|
, pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
, systemd
|
|
|
|
, tcp_wrappers
|
|
|
|
, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "apt-cacher-ng";
|
2021-03-23 19:22:30 +00:00
|
|
|
version = "3.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
|
2021-03-23 19:22:30 +00:00
|
|
|
sha256 = "sha256-avyjp4KH7l6OZxnMVDv1U/MIWcadqyPPtnLYzEYkqlA=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkg-config ];
|
2020-05-15 21:57:56 +00:00
|
|
|
buildInputs = [ bzip2 fuse libevent lzma openssl systemd tcp_wrappers zlib ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|