2017-11-22 01:36:37 +00:00
|
|
|
{ stdenv
|
|
|
|
, bzip2
|
|
|
|
, cmake
|
|
|
|
, doxygen
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
|
|
|
, lzma
|
|
|
|
, openssl
|
|
|
|
, pkgconfig
|
|
|
|
, 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";
|
2018-09-25 13:33:07 +00:00
|
|
|
version = "3.2";
|
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";
|
2018-09-25 13:33:07 +00:00
|
|
|
sha256 = "1kas5xq44rx33pczhrz05dsdhjaavxdmcs5h1ygfi76bpqvyhpa0";
|
2015-11-16 13:17:39 +00:00
|
|
|
};
|
|
|
|
|
2016-03-17 14:55:53 +00:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkgconfig ];
|
2017-11-22 01:36:37 +00:00
|
|
|
buildInputs = [ bzip2 fuse lzma openssl systemd tcp_wrappers zlib ];
|
2015-11-16 13:17:39 +00:00
|
|
|
|
2016-03-17 14:55:53 +00:00
|
|
|
meta = with stdenv.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
|
|
|
};
|
|
|
|
}
|