mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
35 lines
789 B
Nix
35 lines
789 B
Nix
{ stdenv
|
|
, bzip2
|
|
, cmake
|
|
, doxygen
|
|
, fetchurl
|
|
, fuse
|
|
, lzma
|
|
, openssl
|
|
, pkgconfig
|
|
, systemd
|
|
, tcp_wrappers
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "apt-cacher-ng";
|
|
version = "3.2";
|
|
|
|
src = fetchurl {
|
|
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
|
|
sha256 = "1kas5xq44rx33pczhrz05dsdhjaavxdmcs5h1ygfi76bpqvyhpa0";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake doxygen pkgconfig ];
|
|
buildInputs = [ bzip2 fuse 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 ];
|
|
};
|
|
}
|