diff options
Diffstat (limited to 'nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix')
-rw-r--r-- | nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix b/nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix new file mode 100644 index 000000000000..f8c4b8002045 --- /dev/null +++ b/nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix @@ -0,0 +1,35 @@ +{ stdenv +, bzip2 +, cmake +, doxygen +, fetchurl +, fuse +, libevent +, lzma +, openssl +, pkgconfig +, systemd +, tcp_wrappers +, zlib +}: + +stdenv.mkDerivation rec { + pname = "apt-cacher-ng"; + version = "3.5"; + + src = fetchurl { + url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz"; + sha256 = "0h76n02nnpg7ir9247qrxb8p4d4p282nh13zrv5bb9sfm12pril2"; + }; + + nativeBuildInputs = [ cmake doxygen pkgconfig ]; + buildInputs = [ bzip2 fuse libevent lzma openssl systemd tcp_wrappers zlib ]; + + 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; + platforms = platforms.linux; + maintainers = [ maintainers.makefu ]; + }; +} |