summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorembr <git@liclac.eu>2022-02-16 13:26:53 +0100
committerGitHub <noreply@github.com>2022-02-16 13:26:53 +0100
commit6016f1c26c4ba404b836358d7bd236debe38bd52 (patch)
tree5c8cf10aa5f6f9b3f3c96c35c31c7ea3f27fdc18 /pkgs/servers/http
parentb66b39216b1fef2d8c33cc7a5c72d8da80b79970 (diff)
downloadnixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar.gz
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar.bz2
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar.lz
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar.xz
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.tar.zst
nixpkgs-6016f1c26c4ba404b836358d7bd236debe38bd52.zip
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>
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/apt-cacher-ng/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/servers/http/apt-cacher-ng/default.nix b/pkgs/servers/http/apt-cacher-ng/default.nix
index 9e40bb648ea..9cdc0c58ee4 100644
--- a/pkgs/servers/http/apt-cacher-ng/default.nix
+++ b/pkgs/servers/http/apt-cacher-ng/default.nix
@@ -11,24 +11,25 @@
 , systemd
 , tcp_wrappers
 , zlib
+, c-ares
 }:
 
 stdenv.mkDerivation rec {
   pname = "apt-cacher-ng";
-  version = "3.6.3";
+  version = "3.7.4";
 
   src = fetchurl {
-    url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
-    sha256 = "sha256-P4ArWpxjOjBi9EiDp/ord17GfUOFwpiTKGvSEuZljGA=";
+    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 ];
+  buildInputs = [ bzip2 fuse libevent xz openssl systemd tcp_wrappers zlib c-ares ];
 
   meta = with lib; {
-    description = "A caching proxy specialized for linux distribution files";
+    description = "A caching proxy specialized for Linux distribution files";
     homepage = "https://www.unix-ag.uni-kl.de/~bloch/acng/";
-    license = licenses.gpl2;
+    license = licenses.bsdOriginal;
     platforms = platforms.linux;
     maintainers = [ maintainers.makefu ];
   };