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