2017-11-22 02:36:37 +01:00
|
|
|
{ stdenv
|
|
|
|
, bzip2
|
|
|
|
, cmake
|
|
|
|
, doxygen
|
|
|
|
, fetchurl
|
|
|
|
, fuse
|
|
|
|
, lzma
|
|
|
|
, openssl
|
|
|
|
, pkgconfig
|
|
|
|
, systemd
|
|
|
|
, tcp_wrappers
|
|
|
|
, zlib
|
|
|
|
}:
|
2015-11-16 14:17:39 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apt-cacher-ng-${version}";
|
2017-11-22 02:36:37 +01:00
|
|
|
version = "3.1";
|
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";
|
2017-11-22 02:36:37 +01:00
|
|
|
sha256 = "0p8cdig70vz1dgw2v8brjin5wqrk8amncphyf11f53bza5grlc91";
|
2015-11-16 14:17:39 +01:00
|
|
|
};
|
|
|
|
|
2016-03-17 15:55:53 +01:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkgconfig ];
|
2017-11-22 02:36:37 +01:00
|
|
|
buildInputs = [ bzip2 fuse lzma openssl systemd tcp_wrappers zlib ];
|
2015-11-16 14:17:39 +01:00
|
|
|
|
2016-03-17 15:55:53 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-11-16 14:17:39 +01:00
|
|
|
description = "A caching proxy specialized for linux distribution files";
|
2016-03-17 15:55:53 +01:00
|
|
|
homepage = https://www.unix-ag.uni-kl.de/~bloch/acng/;
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|