Merge #21526: unbound 1.5.10 -> 1.6.0
This commit is contained in:
commit
c2752f8228
@ -9,6 +9,25 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0zhcx67afb6b5r936w5jmaydj3ks8zh83n9rm5sv3m3k8q8jib1q";
|
sha256 = "0zhcx67afb6b5r936w5jmaydj3ks8zh83n9rm5sv3m3k8q8jib1q";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The configure script of libpaper is buggy: it uses AC_SUBST on a headerfile
|
||||||
|
# to compile sysconfdir into the library. Autoconf however defines sysconfdir
|
||||||
|
# as "${prefix}/etc", which is not expanded by AC_SUBST so libpaper will look
|
||||||
|
# for config files in (literally, without expansion) '${prefix}/etc'. Manually
|
||||||
|
# setting sysconfdir fixes this issue.
|
||||||
|
preConfigure = ''
|
||||||
|
configureFlagsArray+=(
|
||||||
|
"--sysconfdir=$out/etc"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Set the default paper to letter (this is what libpaper uses as default as well,
|
||||||
|
# if you call getdefaultpapername()).
|
||||||
|
# The user can still override this with the PAPERCONF environment variable.
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $out/etc
|
||||||
|
echo letter > $out/etc/papersize
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for handling paper characteristics";
|
description = "Library for handling paper characteristics";
|
||||||
homepage = "http://packages.debian.org/unstable/source/libpaper";
|
homepage = "http://packages.debian.org/unstable/source/libpaper";
|
||||||
|
@ -29,8 +29,11 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
for i in "$out/bin/"*; do
|
# apropos/whatis uses program name to decide whether to act like apropos or whatis
|
||||||
wrapProgram "$i" --prefix PATH : "${groff}/bin"
|
# (multi-call binary). `apropos` is actually just a symlink to whatis. So we need to
|
||||||
|
# make sure that we don't wrap symlinks (since that changes argv[0] to the -wrapped name)
|
||||||
|
find "$out/bin" -type f | while read file; do
|
||||||
|
wrapProgram "$file" --prefix PATH : "${groff}/bin"
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "unbound-${version}";
|
name = "unbound-${version}";
|
||||||
version = "1.5.10";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://unbound.net/downloads/${name}.tar.gz";
|
url = "http://unbound.net/downloads/${name}.tar.gz";
|
||||||
sha256 = "11lli8jgq4n917gcx6nw728g1hqc2lszwlxa5mdb78m2ri7qp6x3";
|
sha256 = "1dzsxyp34ianp08wk4vf13qzl5ss5rr9v1p8zr1aggfywrsbhzbb";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
outputs = [ "out" "lib" "man" ]; # "dev" would only split ~20 kB
|
||||||
|
@ -5,11 +5,11 @@ let
|
|||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "pyunbound";
|
pname = "pyunbound";
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
version = "1.5.9";
|
version = "1.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://unbound.net/downloads/unbound-${version}.tar.gz";
|
url = "http://unbound.net/downloads/unbound-${version}.tar.gz";
|
||||||
sha256 = "01328cfac99ab5b8c47115151896a244979e442e284eb962c0ea84b7782b6990";
|
sha256 = "1dzsxyp34ianp08wk4vf13qzl5ss5rr9v1p8zr1aggfywrsbhzbb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ openssl expat libevent swig python ];
|
buildInputs = [ openssl expat libevent swig python ];
|
||||||
|
@ -24596,6 +24596,22 @@ in {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
sphinxcontrib_newsfeed = buildPythonPackage (rec {
|
||||||
|
name = "sphinxcontrib-newsfeed-${version}";
|
||||||
|
version = "0.1.4";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "mirror://pypi/s/sphinxcontrib-newsfeed/${name}.tar.gz";
|
||||||
|
sha256 = "1d7gam3mn8v4in4p16yn3v10vps7nnaz6ilw99j4klij39dqd37p";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = with self; [sphinx];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Extension for adding a simple Blog, News or Announcements section to a Sphinx website";
|
||||||
|
homepage = http://bitbucket.org/prometheus/sphinxcontrib-newsfeed;
|
||||||
|
license = licenses.bsd2;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
sphinxcontrib_plantuml = buildPythonPackage (rec {
|
sphinxcontrib_plantuml = buildPythonPackage (rec {
|
||||||
name = "sphinxcontrib-plantuml-0.7";
|
name = "sphinxcontrib-plantuml-0.7";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user