mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
c6d3a23cf6
Tested by doing sandboxed build & running the resulting exectuable. Note that sources for 0.8.9 are no longer available on the Debian mirrors.
23 lines
753 B
Nix
23 lines
753 B
Nix
{ stdenv, fetchurl, cmake, doxygen, zlib, openssl, bzip2, pkgconfig, libpthreadstubs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "apt-cacher-ng-${version}";
|
|
version = "0.9.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
|
|
sha256 = "1d686knvig1niapc1ib2045f7jfad3m4jvz6gkwm276fqvm4p694";
|
|
};
|
|
|
|
NIX_LDFLAGS = "-lpthread";
|
|
nativeBuildInputs = [ cmake doxygen pkgconfig ];
|
|
buildInputs = [ zlib openssl bzip2 libpthreadstubs ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A caching proxy specialized for linux distribution files";
|
|
homepage = https://www.unix-ag.uni-kl.de/~bloch/acng/;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.makefu ];
|
|
};
|
|
}
|