1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/servers/http/apt-cacher-ng/default.nix

35 lines
799 B
Nix
Raw Normal View History

{ stdenv
, bzip2
, cmake
, doxygen
, fetchurl
, fuse
, lzma
, openssl
, pkgconfig
, systemd
, tcp_wrappers
, zlib
}:
2015-11-16 13:17:39 +00:00
stdenv.mkDerivation rec {
name = "apt-cacher-ng-${version}";
version = "3.1";
2015-11-16 13:17:39 +00:00
src = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
sha256 = "0p8cdig70vz1dgw2v8brjin5wqrk8amncphyf11f53bza5grlc91";
2015-11-16 13:17:39 +00:00
};
nativeBuildInputs = [ cmake doxygen pkgconfig ];
buildInputs = [ bzip2 fuse lzma openssl systemd tcp_wrappers zlib ];
2015-11-16 13:17:39 +00:00
meta = with stdenv.lib; {
2015-11-16 13:17:39 +00:00
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 ];
2015-11-16 13:17:39 +00:00
};
}