nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix
Andreas Rammhold d41d43d850
apt-cacher-ng: 0.9.1 -> 3.1
Also helps compilation using gcc7.
2017-11-22 09:21:58 +01:00

35 lines
799 B
Nix

{ stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, lzma
, openssl
, pkgconfig
, systemd
, tcp_wrappers
, zlib
}:
stdenv.mkDerivation rec {
name = "apt-cacher-ng-${version}";
version = "3.1";
src = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
sha256 = "0p8cdig70vz1dgw2v8brjin5wqrk8amncphyf11f53bza5grlc91";
};
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 ];
};
}