nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix

36 lines
812 B
Nix
Raw Normal View History

{ lib, stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, libevent
, lzma
, openssl
, pkg-config
, systemd
, tcp_wrappers
, zlib
}:
2015-11-16 13:17:39 +00:00
stdenv.mkDerivation rec {
pname = "apt-cacher-ng";
2021-02-28 16:55:53 +00:00
version = "3.6.1";
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";
2021-02-28 16:55:53 +00:00
sha256 = "sha256-avyjp4KH7l6OZxnMVDv1U/MIWcadqyPPtnLYzEYkqlA=";
2015-11-16 13:17:39 +00:00
};
nativeBuildInputs = [ cmake doxygen pkg-config ];
buildInputs = [ bzip2 fuse libevent lzma openssl systemd tcp_wrappers zlib ];
2015-11-16 13:17:39 +00:00
meta = with lib; {
2015-11-16 13:17:39 +00:00
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 ];
2015-11-16 13:17:39 +00:00
};
}