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