2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2017-11-22 01:36:37 +00:00
|
|
|
, bzip2
|
|
|
|
, cmake
|
|
|
|
, doxygen
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
2020-05-06 17:09:31 +00:00
|
|
|
, libevent
|
2017-11-22 01:36:37 +00:00
|
|
|
, lzma
|
|
|
|
, openssl
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2017-11-22 01:36:37 +00:00
|
|
|
, systemd
|
|
|
|
, tcp_wrappers
|
|
|
|
, zlib
|
|
|
|
}:
|
2015-11-16 13:17:39 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "apt-cacher-ng";
|
2021-02-28 16:55:53 +00:00
|
|
|
version = "3.6.1";
|
2015-11-16 13:17:39 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
|
2021-02-28 16:55:53 +00:00
|
|
|
sha256 = "sha256-avyjp4KH7l6OZxnMVDv1U/MIWcadqyPPtnLYzEYkqlA=";
|
2015-11-16 13:17:39 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkg-config ];
|
2020-05-06 17:09:31 +00:00
|
|
|
buildInputs = [ bzip2 fuse libevent lzma openssl systemd tcp_wrappers zlib ];
|
2015-11-16 13:17:39 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-11-16 13:17:39 +00:00
|
|
|
description = "A caching proxy specialized for linux distribution files";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
|
2016-03-17 14:55:53 +00:00
|
|
|
license = licenses.gpl2;
|
2016-04-07 16:57:12 +00:00
|
|
|
platforms = platforms.linux;
|
2016-03-17 14:55:53 +00:00
|
|
|
maintainers = [ maintainers.makefu ];
|
2015-11-16 13:17:39 +00:00
|
|
|
};
|
|
|
|
}
|