2015-11-16 14:17:39 +01:00
|
|
|
{ stdenv, fetchurl, cmake, doxygen, zlib, openssl, bzip2, pkgconfig, libpthreadstubs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "apt-cacher-ng-${version}";
|
2016-03-17 15:55:53 +01:00
|
|
|
version = "0.9.1";
|
2015-11-16 14:17:39 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
|
2016-03-17 15:55:53 +01:00
|
|
|
sha256 = "1d686knvig1niapc1ib2045f7jfad3m4jvz6gkwm276fqvm4p694";
|
2015-11-16 14:17:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
NIX_LDFLAGS = "-lpthread";
|
2016-03-17 15:55:53 +01:00
|
|
|
nativeBuildInputs = [ cmake doxygen pkgconfig ];
|
|
|
|
buildInputs = [ zlib openssl bzip2 libpthreadstubs ];
|
2015-11-16 14:17:39 +01:00
|
|
|
|
2016-03-17 15:55:53 +01:00
|
|
|
meta = with stdenv.lib; {
|
2015-11-16 14:17:39 +01:00
|
|
|
description = "A caching proxy specialized for linux distribution files";
|
2016-03-17 15:55:53 +01:00
|
|
|
homepage = https://www.unix-ag.uni-kl.de/~bloch/acng/;
|
|
|
|
license = licenses.gpl2;
|
2016-04-07 18:57:12 +02:00
|
|
|
platforms = platforms.linux;
|
2016-03-17 15:55:53 +01:00
|
|
|
maintainers = [ maintainers.makefu ];
|
2015-11-16 14:17:39 +01:00
|
|
|
};
|
|
|
|
}
|