apt-cacher-ng: 0.9.1 -> 3.1

Also helps compilation using gcc7.
This commit is contained in:
Andreas Rammhold 2017-11-22 02:36:37 +01:00
parent 74d36c9acd
commit d41d43d850
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -1,17 +1,28 @@
{ stdenv, fetchurl, cmake, doxygen, zlib, openssl, bzip2, pkgconfig, libpthreadstubs }:
{ stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, lzma
, openssl
, pkgconfig
, systemd
, tcp_wrappers
, zlib
}:
stdenv.mkDerivation rec {
name = "apt-cacher-ng-${version}";
version = "0.9.1";
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 = "1d686knvig1niapc1ib2045f7jfad3m4jvz6gkwm276fqvm4p694";
sha256 = "0p8cdig70vz1dgw2v8brjin5wqrk8amncphyf11f53bza5grlc91";
};
NIX_LDFLAGS = "-lpthread";
nativeBuildInputs = [ cmake doxygen pkgconfig ];
buildInputs = [ zlib openssl bzip2 libpthreadstubs ];
buildInputs = [ bzip2 fuse lzma openssl systemd tcp_wrappers zlib ];
meta = with stdenv.lib; {
description = "A caching proxy specialized for linux distribution files";