Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 4fcf0bbb2086
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8f5edef47e2d
Choose a head ref

Commits on Apr 24, 2019

  1. qemu: 3.1.0 -> 4.0.0

    dtzWill committed Apr 24, 2019
    Copy the full SHA
    9a711cc View commit details
  2. Copy the full SHA
    b6f020f View commit details
  3. qemu: drop fix-hda-recording.patch, appears applied upstream

    (across multiple commits, maybe?)
    dtzWill committed Apr 24, 2019
    Copy the full SHA
    bf35e8f View commit details

Commits on May 3, 2019

  1. nukeReferences: fix for store paths with special characters (like '+'…

    … or '.')
    
    This introduces extra escaping for $NIX_STORE that gets interpolated
    into a PCRE. The escaping is performed using a standard Perl function
    "quotemeta" (see "perldoc -f quotemeta" for reference). The same value
    is also used in sed regex which uses POSIX basic regular expressions
    instead of PCRE, so it needs fewer characters to be escaped. It should
    not cause much problem to not change sed invocation, but I replace it
    with equivalent Perl expression (actually the behavior is changed to not
    output a newline character after the matched output).
    veprbl committed May 3, 2019
    Copy the full SHA
    fdada4a View commit details

Commits on May 4, 2019

  1. icu64: init at 64.2

    JohnAZoidberg committed May 4, 2019
    Copy the full SHA
    01d805a View commit details
  2. icu: 59 -> 64

    JohnAZoidberg committed May 4, 2019
    Copy the full SHA
    2fe63c8 View commit details

Commits on May 9, 2019

  1. static: set default_library flag for meson in makeStaticLibrary

    Adds support for building static libraries with meson.
    matthewbauer committed May 9, 2019
    Copy the full SHA
    fea2422 View commit details
  2. stdenv, cacert: consider $NIX_SSL_CERT_FILE in hooks

    Some SSL libs don't react to $SSL_CERT_FILE.
    That actually makes sense to me, as we add this behavior
    as nixpkgs-specific, so it seems "safer" to use $NIX_*.
    vcunat committed May 9, 2019
    Copy the full SHA
    79bd4ad View commit details
  3. stdenv: also override cert files in pure nix-shell

    That's very much consistent with the spirit of nix-shell --pure
    
    BTW, nix 1.x shells will be always treated as pure;
    in that version detection isn't possible.
    NixOS/nix@1bffd83e1a9c
    vcunat committed May 9, 2019
    Copy the full SHA
    b27cc37 View commit details
  4. pypi2nix: fix $IN_NIX_SHELL test

    In nix 2.0 this changed: NixOS/nix@1bffd83
    I only kept the original intention and did no kind of verification.
    vcunat committed May 9, 2019
    Copy the full SHA
    99760ed View commit details

Commits on May 15, 2019

  1. gdb: 8.2.1 -> 8.3

    jhaasdijk committed May 15, 2019
    Copy the full SHA
    78bd2e8 View commit details
  2. librsvg: 2.44.13 -> 2.44.14

    dtzWill committed May 15, 2019
    Copy the full SHA
    fa7c6b8 View commit details

Commits on May 16, 2019

  1. Copy the full SHA
    b97f53e View commit details

Commits on May 17, 2019

  1. bind: 9.12.4-P1 -> 9.14.2

    9.12 is EOL as of May 2019.
    
    9.14.2 release notes (which appear to extend those for 9.14.1):
    
    https://ftp.isc.org/isc/bind9/9.14.2/RELEASE-NOTES-bind-9.14.2.html
    
    Please check the security fixes and prioritize this as appropriate.
    dtzWill committed May 17, 2019
    Copy the full SHA
    ee4fc39 View commit details
  2. Copy the full SHA
    75bca7c View commit details
  3. Copy the full SHA
    764c298 View commit details

Commits on May 18, 2019

  1. Merge pull request #61640 from dtzWill/update/ethtool-5.1

    ethtool: 5.0 -> 5.1
    dtzWill authored May 18, 2019
    Copy the full SHA
    7ea7c5c View commit details
  2. Copy the full SHA
    7822281 View commit details
  3. Copy the full SHA
    888dba6 View commit details
  4. Merge pull request #61169 from matthewbauer/meson-static

    static: set default_library flag for meson in makeStaticLibrary
    matthewbauer authored May 18, 2019
    Copy the full SHA
    5ba6339 View commit details

Commits on May 19, 2019

  1. Merge pull request #61577 from worldofpeace/libsoup/2.66.2

    libsoup: 2.66.1 -> 2.66.2
    worldofpeace authored May 19, 2019
    Copy the full SHA
    3922989 View commit details
  2. Merge pull request #61573 from dtzWill/update/librsvg-2.44.14

    librsvg: 2.44.13 -> 2.44.14
    worldofpeace authored May 19, 2019
    Copy the full SHA
    bbb7cda View commit details
  3. Copy the full SHA
    19dd115 View commit details
  4. Merge #61179: stdenv, cacert: $NIX_SSL_CERT_FILE changes

    ... into staging
    vcunat committed May 19, 2019
    Copy the full SHA
    96a6043 View commit details
  5. gnutls: fix tests after 79bd4ad (PR #61179)

    It's one of the places that would reach out to /etc/ otherwise,
    so I expect we have to pay this price to get the effect.
    Hopefully there won't be too many places to patch.
    vcunat committed May 19, 2019
    Copy the full SHA
    347cd8a View commit details

Commits on May 20, 2019

  1. Merge pull request #61545 from jhaasdijk/gdb-8.3

    gdb: 8.2.1 -> 8.3
    edolstra authored May 20, 2019
    Copy the full SHA
    954a342 View commit details

Commits on May 21, 2019

  1. Merge pull request #61619 from dtzWill/update/bind-9.14

    bind: 9.12.4-P1 -> 9.14.2
    dtzWill authored May 21, 2019
    Copy the full SHA
    26026c3 View commit details
  2. Merge pull request #60133 from dtzWill/update/qemu-4.0.0

    qemu: 3.1.0 -> 4.0.0
    dtzWill authored May 21, 2019
    Copy the full SHA
    35dea87 View commit details
  3. Copy the full SHA
    fe7ee29 View commit details
  4. go_1_11: 1.11.{6 -> 10}

    dtzWill authored and zimbatm committed May 21, 2019
    Copy the full SHA
    4a2fad0 View commit details

Commits on May 22, 2019

  1. openssl: fix CVE-2019-1543

    tomberek authored and peti committed May 22, 2019
    Copy the full SHA
    aae4c11 View commit details

Commits on May 23, 2019

  1. Copy the full SHA
    55bcfed View commit details
  2. Merge pull request #60877 from veprbl/pr/nuke-refs-quotemeta-fix

    nukeReferences: fix for store paths with special characters
    veprbl authored May 23, 2019
    Copy the full SHA
    44f05df View commit details

Commits on May 24, 2019

  1. Copy the full SHA
    c404cfd View commit details
  2. Copy the full SHA
    6efa24e View commit details
  3. Copy the full SHA
    adef5b9 View commit details
  4. Copy the full SHA
    f12f9af View commit details
  5. Copy the full SHA
    4812547 View commit details
  6. Copy the full SHA
    e5f4e17 View commit details
  7. Copy the full SHA
    3df8bed View commit details
  8. libbytesize: 1.4 -> 2.0

    basvandijk committed May 24, 2019
    Copy the full SHA
    72fc6f7 View commit details
  9. Merge pull request #61633 from basvandijk/elasticsearch-curator-5.7.6

    elasticsearch-curator: 5.6.0 -> 5.7.6 & upgrades of dependencies (based on staging)
    basvandijk authored May 24, 2019
    Copy the full SHA
    a4354df View commit details
  10. Merge pull request #61926 from dtzWill/update/curl-7.65.0

    curl: 7.64.0 -> 7.65.0
    infinisil authored May 24, 2019
    Copy the full SHA
    084d75a View commit details
  11. x265: 2.9 -> 3.0

    jlesquembre committed May 24, 2019
    Copy the full SHA
    2982e92 View commit details
  12. Copy the full SHA
    9398234 View commit details
  13. boost: run build and install hooks

    Users who want to patch boost may put a postInstall hook in an overlay, which
    requires that that expression runs them on the buildPhase and installPhase.
    bhipple committed May 24, 2019
    Copy the full SHA
    3232cad View commit details

Commits on May 25, 2019

  1. Merge pull request #62027 from bhipple/fix/boost-hooks

    boost: run build and install hooks
    Mic92 authored May 25, 2019
    Copy the full SHA
    eb43568 View commit details
  2. Copy the full SHA
    62f9685 View commit details

Commits on May 26, 2019

  1. Copy the full SHA
    7409ec7 View commit details
  2. Merge pull request #61872 from transumption/201905/fix-e2fsprogs-cross

    e2fsprogs: fix cross compilation
    lukateras authored May 26, 2019
    Copy the full SHA
    e775638 View commit details
Showing with 304 additions and 286 deletions.
  1. +3 −0 pkgs/applications/video/aegisub/default.nix
  2. +2 −8 pkgs/applications/virtualization/qemu/default.nix
  3. +0 −34 pkgs/applications/virtualization/qemu/fix-hda-recording.patch
  4. +17 −2 pkgs/applications/virtualization/qemu/no-etc-install.patch
  5. +2 −2 pkgs/build-support/nuke-references/builder.sh
  6. +2 −2 pkgs/data/fonts/public-sans/default.nix
  7. +2 −0 pkgs/data/misc/cacert/setup-hook.sh
  8. +25 −0 pkgs/data/misc/publicsuffix-list/default.nix
  9. +3 −3 pkgs/development/compilers/go/1.11.nix
  10. +3 −3 pkgs/development/compilers/go/1.12.nix
  11. +1 −1 pkgs/development/interpreters/gauche/default.nix
  12. +11 −4 pkgs/development/interpreters/perl/default.nix
  13. +11 −6 pkgs/development/libraries/boost/generic.nix
  14. +21 −19 pkgs/development/libraries/gdbm/default.nix
  15. +6 −3 pkgs/development/libraries/gnutls/default.nix
  16. +4 −0 pkgs/development/libraries/icu/64.nix
  17. +3 −0 pkgs/development/libraries/languagemachines/libfolia.nix
  18. +4 −4 pkgs/development/libraries/libbytesize/default.nix
  19. +23 −34 pkgs/development/libraries/libpsl/default.nix
  20. +2 −2 pkgs/development/libraries/librsvg/default.nix
  21. +2 −2 pkgs/development/libraries/libsoup/default.nix
  22. +5 −0 pkgs/development/libraries/openssl/default.nix
  23. +2 −1 pkgs/development/libraries/sqlite/default.nix
  24. +6 −1 pkgs/development/libraries/sword/default.nix
  25. +2 −2 pkgs/development/libraries/webkitgtk/default.nix
  26. +6 −11 pkgs/development/libraries/x265/default.nix
  27. +2 −1 pkgs/development/perl-modules/generic/default.nix
  28. +2 −2 pkgs/development/python-modules/certifi/default.nix
  29. +2 −2 pkgs/development/python-modules/elasticsearch-curator/default.nix
  30. +2 −2 pkgs/development/python-modules/elasticsearch-dsl/default.nix
  31. +2 −2 pkgs/development/python-modules/elasticsearch/default.nix
  32. +4 −3 pkgs/development/python-modules/pyicu/default.nix
  33. +13 −1 pkgs/development/tools/build-managers/meson/default.nix
  34. +2 −2 pkgs/development/tools/misc/gdb/default.nix
  35. +6 −21 pkgs/development/tools/misc/swig/2.x.nix
  36. +2 −2 pkgs/development/tools/misc/swig/3.x.nix
  37. +8 −21 pkgs/development/tools/misc/swig/default.nix
  38. +1 −1 pkgs/development/tools/pypi2nix/default.nix
  39. +3 −4 pkgs/misc/jackaudio/default.nix
  40. +2 −2 pkgs/os-specific/linux/alsa-lib/default.nix
  41. +1 −1 pkgs/os-specific/linux/systemd/default.nix
  42. +6 −14 pkgs/servers/dns/bind/default.nix
  43. +13 −13 pkgs/servers/dns/bind/dont-keep-configure-flags.patch
  44. +1 −0 pkgs/stdenv/adapters.nix
  45. +7 −4 pkgs/stdenv/generic/setup.sh
  46. +2 −2 pkgs/tools/X11/wpgtk/default.nix
  47. +3 −0 pkgs/tools/filesystems/darling-dmg/default.nix
  48. +13 −6 pkgs/tools/filesystems/e2fsprogs/default.nix
  49. +2 −2 pkgs/tools/misc/ethtool/default.nix
  50. +2 −2 pkgs/tools/misc/file/default.nix
  51. +5 −4 pkgs/tools/misc/fltrdr/default.nix
  52. +2 −2 pkgs/tools/misc/toybox/default.nix
  53. +2 −2 pkgs/tools/networking/curl/default.nix
  54. +3 −5 pkgs/tools/security/john/default.nix
  55. +0 −14 pkgs/tools/security/john/gcc5.patch
  56. +2 −2 pkgs/tools/virtualization/udocker/default.nix
  57. +21 −3 pkgs/top-level/all-packages.nix
3 changes: 3 additions & 0 deletions pkgs/applications/video/aegisub/default.nix
Original file line number Diff line number Diff line change
@@ -48,6 +48,9 @@ stdenv.mkDerivation rec {

hardeningDisable = [ "bindnow" "relro" ];

# compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];

# this is fixed upstream though not yet in an officially released version,
# should be fine remove on next release (if one ever happens)
NIX_LDFLAGS = [
10 changes: 2 additions & 8 deletions pkgs/applications/virtualization/qemu/default.nix
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ let
in

stdenv.mkDerivation rec {
version = "3.1.0";
version = "4.0.0";
name = "qemu-"
+ stdenv.lib.optionalString xenSupport "xen-"
+ stdenv.lib.optionalString hostCpuOnly "host-cpu-only-"
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {

src = fetchurl {
url = "https://wiki.qemu.org/download/qemu-${version}.tar.bz2";
sha256 = "08frr1fdjx8qcfh3fafn10kibdwbvkqqvfl7hpqbm7i9dg4f1zlq";
sha256 = "085g6f75si8hbn94mnnjn1r7ysixn5bqj4bhqwvadj00fhzp2zvd";
};

nativeBuildInputs = [ python2 pkgconfig flex bison ];
@@ -78,13 +78,7 @@ stdenv.mkDerivation rec {
./no-etc-install.patch
./fix-qemu-ga.patch
./9p-ignore-noatime.patch
(fetchpatch {
name = "CVE-2019-3812.patch";
url = "https://git.qemu.org/?p=qemu.git;a=patch;h=b05b267840515730dbf6753495d5b7bd8b04ad1c";
sha256 = "03a5vc5wvirbyi5r8kb2r4m2w6f1zmh9bqsr2psh4pblwar0nf55";
})
] ++ optional nixosTestRunner ./force-uid0-on-9p.patch
++ optional pulseSupport ./fix-hda-recording.patch
++ optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
url = https://raw.githubusercontent.com/alpinelinux/aports/2bb133986e8fa90e2e76d53369f03861a87a74ef/main/qemu/xattr_size_max.patch;
34 changes: 0 additions & 34 deletions pkgs/applications/virtualization/qemu/fix-hda-recording.patch

This file was deleted.

19 changes: 17 additions & 2 deletions pkgs/applications/virtualization/qemu/no-etc-install.patch
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
From 98b3e5993bbdb0013b6cc1814e0ad9555290c3af Mon Sep 17 00:00:00 2001
From: Will Dietz <w@wdtz.org>
Date: Tue, 23 Apr 2019 21:31:45 -0500
Subject: [PATCH] no install localstatedir

---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 04a0d45050..5dc82d0eb7 100644
--- a/Makefile
+++ b/Makefile
@@ -597,7 +597,7 @@
@@ -786,7 +786,7 @@ endif

ICON_SIZES=16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512

-install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir
+install: all $(if $(BUILD_DOCS),install-doc) install-datadir
ifneq ($(TOOLS),)
$(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))
$(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))
endif
--
2.21.GIT

4 changes: 2 additions & 2 deletions pkgs/build-support/nuke-references/builder.sh
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ cat > $out/bin/nuke-refs <<EOF
excludes=""
while getopts e: o; do
case "\$o" in
e) storeId=\$(echo "\$OPTARG" | sed -n "s|^$NIX_STORE/\\([a-z0-9]\{32\}\\)-.*|\1|p")
e) storeId=\$(echo "\$OPTARG" | $perl/bin/perl -ne "print \"\\\$1\" if m|^\Q$NIX_STORE\E/([a-z0-9]{32})-.*|")
if [ -z "\$storeId" ]; then
echo "-e argument must be a Nix store path"
exit 1
@@ -20,7 +20,7 @@ shift \$((\$OPTIND-1))
for i in "\$@"; do
if test ! -L "\$i" -a -f "\$i"; then
cat "\$i" | $perl/bin/perl -pe "s|$NIX_STORE/\$excludes[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > "\$i.tmp"
cat "\$i" | $perl/bin/perl -pe "s|\Q$NIX_STORE\E/\$excludes[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > "\$i.tmp"
if test -x "\$i"; then chmod +x "\$i.tmp"; fi
mv "\$i.tmp" "\$i"
fi
4 changes: 2 additions & 2 deletions pkgs/data/fonts/public-sans/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, fetchzip }:

let
version = "1.004";
version = "1.005";
in fetchzip rec {
name = "public-sans-${version}";

@@ -12,7 +12,7 @@ in fetchzip rec {
unzip $downloadedFile fonts/{otf,variable}/\*.\[ot\]tf -d $out/share/
'';

sha256 = "1d9ll6gvvlmlykv868lq7xmwldlfjp94k0rjqifipg3q1qv051lg";
sha256 = "0s0zgszpi12wanl031gi3j24ci9pkbkhvsxc30skx8s1mj99cd7i";

meta = with lib; {
description = "A strong, neutral, principles-driven, open source typeface for text or display";
2 changes: 2 additions & 0 deletions pkgs/data/misc/cacert/setup-hook.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cacertHook() {
export NIX_SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
# left for compatibility
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
}

25 changes: 25 additions & 0 deletions pkgs/data/misc/publicsuffix-list/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ lib, fetchFromGitHub }:

let
pname = "publicsuffix-list";
version = "2019-05-24";
in fetchFromGitHub rec {
name = "${pname}-${version}";
owner = "publicsuffix";
repo = "list";
rev = "a1db0e898956e126de65be1a5e977fbbbbeebe33";
sha256 = "092153w2jr7nx28p9wc9k6b5azi9c39ghnqfnfiwfzv1j8jm3znq";

postFetch = ''
tar xf $downloadedFile --strip=1
install -Dm0444 public_suffix_list.dat tests/test_psl.txt -t $out/share/publicsuffix
'';

meta = with lib; {
homepage = "https://publicsuffix.org/";
description = "Cross-vendor public domain suffix database";
platforms = platforms.all;
license = licenses.mpl20;
maintainers = [ maintainers.c0bw3b ];
};
}
6 changes: 3 additions & 3 deletions pkgs/development/compilers/go/1.11.nix
Original file line number Diff line number Diff line change
@@ -29,12 +29,12 @@ let
in

stdenv.mkDerivation rec {
name = "go-${version}";
version = "1.11.6";
pname = "go";
version = "1.11.10";

src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "0cz1sdhxf9283p1p4jxb020pym0ncd0qlfh36r3hkv6bbm1a2vd9";
sha256 = "06rw962xigbrxblp942jbh7k133blpxg2xfrxi32qdhxkmmfj9yz";
};

# perl is used for testing go vet
6 changes: 3 additions & 3 deletions pkgs/development/compilers/go/1.12.nix
Original file line number Diff line number Diff line change
@@ -29,12 +29,12 @@ let
in

stdenv.mkDerivation rec {
name = "go-${version}";
version = "1.12.1";
pname = "go";
version = "1.12.5";

src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
sha256 = "12l12mmgqvy3nbscy7sz83qj4m6iz5a322aq9sk45f7l9ml2gq8b";
sha256 = "1s034pr60h20lsw171vbzqxqvcqn0s04dxfyqczyfcmkrf4g199a";
};

# perl is used for testing go vet
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/gauche/default.nix
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
"--with-iconv=${libiconv}"
"--with-dbm=gdbm"
"--with-zlib=${zlib}"
"--with-ca-bundle=$SSL_CERT_FILE"
"--with-ca-bundle=$NIX_SSL_CERT_FILE"
# TODO: Enable slib
# Current slib in nixpkgs is specialized to Guile
# "--with-slib=${slibGuile}/lib/slib"
15 changes: 11 additions & 4 deletions pkgs/development/interpreters/perl/default.nix
Original file line number Diff line number Diff line change
@@ -171,11 +171,11 @@ let
priority = 6; # in `buildEnv' (including the one inside `perl.withPackages') the library files will have priority over files in `perl`
};
} // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec {
crossVersion = "9e4051cd28b7b3afb162776f5627c7abe4c7b9ea"; # Apr 21, 2019
crossVersion = "2152db1ea241f796206ab309036be1a7d127b370"; # May 25, 2019

perl-cross-src = fetchurl {
url = "https://github.com/arsv/perl-cross/archive/${crossVersion}.tar.gz";
sha256 = "0dj99w2dicbp3c3wn0k32785pc4c68iqnlyxswnza6mhw6wvl9v7";
sha256 = "1k08iqdkf9q00hbcq2b933w3vmds7xkfr90phhk0qf64l18wdrkf";
};

depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ];
@@ -199,11 +199,18 @@ in {
sha256 = "1iynpsxdym4h76kgndmn3ykvwxhqz444xvaz8z2irsxkvmnlb5da";
};

perl530 = common {
perl = pkgs.perl530;
buildPerl = buildPackages.perl530;
version = "5.30.0";
sha256 = "1wkmz6xn3fswpqhz29akiklcxclnlykhp96a8bqcz36rak3i64l5";
};

# the latest Devel version
perldevel = common {
perl = pkgs.perldevel;
buildPerl = buildPackages.perldevel;
version = "5.29.9";
sha256 = "017x3nghyc5m8q1yqnrdma96b3d5rlfx87vv5mi64jq0r8k6zppm";
version = "5.30.0";
sha256 = "1wkmz6xn3fswpqhz29akiklcxclnlykhp96a8bqcz36rak3i64l5";
};
}
17 changes: 11 additions & 6 deletions pkgs/development/libraries/boost/generic.nix
Original file line number Diff line number Diff line change
@@ -97,9 +97,9 @@ let
in

stdenv.mkDerivation {
name = "boost-${version}";
pname = "boost";

inherit src;
inherit src version;

patchFlags = "";

@@ -112,11 +112,10 @@ stdenv.mkDerivation {
meta = {
homepage = http://boost.org/;
description = "Collection of C++ libraries";
license = stdenv.lib.licenses.boost;

license = licenses.boost;
platforms = platforms.unix ++ platforms.windows;
badPlatforms = stdenv.lib.optional (versionOlder version "1.59") "aarch64-linux"
++ stdenv.lib.optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin";
badPlatforms = optional (versionOlder version "1.59") "aarch64-linux"
++ optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin";
maintainers = with maintainers; [ peti ];
};

@@ -158,16 +157,22 @@ stdenv.mkDerivation {
++ optional (toolset != null) "--with-toolset=${toolset}";

buildPhase = ''
runHook preBuild
./b2 ${b2Args}
runHook postBuild
'';

installPhase = ''
runHook preInstall
# boostbook is needed by some applications
mkdir -p $dev/share/boostbook
cp -a tools/boostbook/{xsl,dtd} $dev/share/boostbook/
# Let boost install everything else
./b2 ${b2Args} install
runHook postInstall
'';

postFixup = ''
40 changes: 21 additions & 19 deletions pkgs/development/libraries/gdbm/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{ stdenv, lib, fetchurl }:

stdenv.mkDerivation rec {
name = "gdbm-1.18.1";
pname = "gdbm";
version = "1.18.1";

# FIXME: remove on update to > 1.18.1
NIX_CFLAGS_COMPILE = if stdenv.cc.isClang then "-Wno-error=return-type" else null;

src = fetchurl {
url = "mirror://gnu/gdbm/${name}.tar.gz";
url = "mirror://gnu/gdbm/${pname}-${version}.tar.gz";
sha256 = "1p4ibds6z3ccy65lkmd6lm7js0kwifvl53r0fd759fjxgr917rl6";
};

@@ -25,10 +27,12 @@ stdenv.mkDerivation rec {
substituteInPlace tests/testsuite.at --replace \
'm4_include([dbmfetch03.at])' ""
'';

enableParallelBuilding = true;
configureFlags = [ "--enable-libgdbm-compat" ];

# create symlinks for compatibility
postInstall = ''
# create symlinks for compatibility
install -dm755 $out/include/gdbm
(
cd $out/include/gdbm
@@ -40,26 +44,24 @@ stdenv.mkDerivation rec {

meta = with lib; {
description = "GNU dbm key/value database library";
longDescription = ''
GNU dbm (or GDBM, for short) is a library of database functions that
use extensible hashing and work similar to the standard UNIX dbm.
These routines are provided to a programmer needing to create and
manipulate a hashed database.
longDescription =
'' GNU dbm (or GDBM, for short) is a library of database functions that
use extensible hashing and work similar to the standard UNIX dbm.
These routines are provided to a programmer needing to create and
manipulate a hashed database.
The basic use of GDBM is to store key/data pairs in a data file.
Each key must be unique and each key is paired with only one data
item.
The basic use of GDBM is to store key/data pairs in a data file.
Each key must be unique and each key is paired with only one data
item.
The library provides primitives for storing key/data pairs,
searching and retrieving the data by its key and deleting a key
along with its data. It also support sequential iteration over all
key/data pairs in a database.
The library provides primitives for storing key/data pairs,
searching and retrieving the data by its key and deleting a key
along with its data. It also support sequential iteration over all
key/data pairs in a database.
For compatibility with programs using old UNIX dbm function, the
package also provides traditional dbm and ndbm interfaces.
For compatibility with programs using old UNIX dbm function, the
package also provides traditional dbm and ndbm interfaces.
'';

homepage = https://www.gnu.org/software/gdbm/;
license = licenses.gpl3Plus;
platforms = platforms.all;
Loading