about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix
blob: 65ec2510d342e7bf4c647476d506265276cae8d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, lzma
, openssl
, pkgconfig
, systemd
, tcp_wrappers
, zlib
}:

stdenv.mkDerivation rec {
  pname = "apt-cacher-ng";
  version = "3.2";

  src = fetchurl {
    url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
    sha256 = "1kas5xq44rx33pczhrz05dsdhjaavxdmcs5h1ygfi76bpqvyhpa0";
  };

  nativeBuildInputs = [ cmake doxygen pkgconfig ];
  buildInputs = [ bzip2 fuse lzma openssl systemd tcp_wrappers zlib ];

  meta = with stdenv.lib; {
    description = "A caching proxy specialized for linux distribution files";
    homepage = https://www.unix-ag.uni-kl.de/~bloch/acng/;
    license = licenses.gpl2;
    platforms = platforms.linux;
    maintainers = [ maintainers.makefu ];
  };
}