Merge pull request #31924 from andir/apt-cacher-ng

apt-cacher-ng: 0.9.1 -> 3.1
This commit is contained in:
Pascal Wittmann 2017-11-22 10:58:53 +01:00 committed by GitHub
commit 852acd8baf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";