nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix
embr 6016f1c26c
apt-cacher-ng: 3.6.3 -> 3.7.4
* apt-cacher-ng: 3.6.3 -> 3.7.4 (#155408)

and set meta.license to BSD-4-Clause
and fetch source over HTTPS

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-02-16 13:26:53 +01:00

37 lines
833 B
Nix

{ lib, stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, libevent
, xz
, openssl
, pkg-config
, systemd
, tcp_wrappers
, zlib
, c-ares
}:
stdenv.mkDerivation rec {
pname = "apt-cacher-ng";
version = "3.7.4";
src = fetchurl {
url = "https://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
sha256 = "0pwsj9rf6a6q7cnfbpcrfq2gjcy7sylqzqqr49g2zi39lrrh8533";
};
nativeBuildInputs = [ cmake doxygen pkg-config ];
buildInputs = [ bzip2 fuse libevent xz openssl systemd tcp_wrappers zlib c-ares ];
meta = with lib; {
description = "A caching proxy specialized for Linux distribution files";
homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
license = licenses.bsdOriginal;
platforms = platforms.linux;
maintainers = [ maintainers.makefu ];
};
}