3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix

36 lines
808 B
Nix
Raw Normal View History

{ lib, stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, libevent
2021-03-14 18:12:53 +00:00
, xz
, openssl
, pkg-config
, systemd
, tcp_wrappers
, zlib
}:
2015-11-16 13:17:39 +00:00
stdenv.mkDerivation rec {
pname = "apt-cacher-ng";
2021-04-27 16:04:29 +01:00
version = "3.6.3";
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-04-27 16:04:29 +01:00
sha256 = "sha256-P4ArWpxjOjBi9EiDp/ord17GfUOFwpiTKGvSEuZljGA=";
2015-11-16 13:17:39 +00:00
};
nativeBuildInputs = [ cmake doxygen pkg-config ];
2021-03-14 18:12:53 +00:00
buildInputs = [ bzip2 fuse libevent xz 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
};
}