253308 Commits

Author SHA1 Message Date
Austin Seipp
75e683d29d pythonPackages: add new 'seccomp' library
As requested in #99553. Closes #99553.

Libraries that install python modules as part of the build are
problematic, because they either

  - only support a single python version, because the input for
    pythonPackages gets fixed in all-packages.nix, or

  - need to be rebuild the underlying C code for *every* python version
    resulting in libfoo-python37, libfoo-python38, and so on

We would prefer to use the second approach because it works correctly
for all versions of python. However, it creates duplicate copies of
libseccomp.so and that can be expensive. Instead we 'deduplicate' the
copies of libseccomp.so by

  - attaching a new $pythonsrc output to the libseccomp deriv, and
  - exposing a new 'seccomp' package in python-packages.nix using
    libseccomp as input, and
  - having a custom python.nix derivation that builds the cython
    extension using libseccomp to get the python source and the
    package version

This means we build 1 copy of the seccomp python package, one for each
version of python, but all of those packages refer to a single instance
of the libseccomp C library, giving us the best of both worlds.

NOTE: because this requires changing the postInstall of libseccomp, it
requires a mass rebuild.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2020-11-20 07:57:26 +01:00
Jan Tojnar
66ef389efa
Merge branch 'staging-next' into staging 2020-11-20 01:38:58 +01:00
Jan Tojnar
f6105d21e3
Merge branch 'master' into staging-next 2020-11-20 01:38:32 +01:00
Jaakko Luttinen
854f78d155 pythonPackages.stack-data: init at 0.0.7 2020-11-19 16:08:23 -08:00
Jaakko Luttinen
b8fa662585 pythonPackages.littleutils: init at 0.2.2 2020-11-19 16:08:23 -08:00
Graham Christensen
1115df837e
Merge pull request #104322 from grahamc/amazon-image
nixos/release-small: add amazonImage
2020-11-19 18:45:07 -05:00
R. RyanTM
b22a7ad7b0 python37Packages.alerta-server: 8.0.3 -> 8.1.0 2020-11-19 15:42:57 -08:00
R. RyanTM
e2989e0fd9 python37Packages.aiokafka: 0.6.0 -> 0.7.0 2020-11-19 15:40:48 -08:00
R. RyanTM
af787d41a5 php73Extensions.blackfire: 1.43.0 -> 1.44.0 2020-11-20 00:12:26 +01:00
Martin Weinelt
972863ec8f
Merge pull request #104288 from r-ryantm/auto-update/python2.7-asana
python27Packages.asana: 0.8.2 -> 0.10.3
2020-11-19 23:47:18 +01:00
Graham Christensen
1ef139f3b0
nixos/release-small: add amazonImage
fixup breakage from #104193
2020-11-19 17:45:40 -05:00
Martin Weinelt
46769c7a77
Merge pull request #104307 from jonringer/fix-mercurial
mercurial: 5.4.2 -> 5.6, fix build
2020-11-19 23:43:04 +01:00
Martin Weinelt
bd699cc9a0
Merge pull request #104299 from r-ryantm/auto-update/postfix
postfix: 3.5.7 -> 3.5.8
2020-11-19 23:37:27 +01:00
Ryan Mulligan
b036f389fb
Merge pull request #104300 from Atemu/mlterm-new-upstream
mlterm: fetch from GitHub instead of Sourceforge
2020-11-19 14:11:30 -08:00
ajs124
48c25e5dc9
Merge pull request #104290 from helsinki-systems/upd/asterisk3
asterisk: Bump all packages
2020-11-19 22:55:35 +01:00
Martin Weinelt
bd540a3104
Merge pull request #104303 from mweinelt/microcodeIntel
microcodeIntel: 20201112 -> 20201118
2020-11-19 22:12:30 +01:00
Graham Christensen
7fa7bf2fda
Merge pull request #104193 from grahamc/ec2-metadata-imdsv2
NixOS EC2 AMI: Support IMDSv2
2020-11-19 16:11:32 -05:00
Frederik Rietdijk
f8716c6d5a pythonPackages.numexpr: fix cross 2020-11-19 22:05:10 +01:00
Ben Wolsieffer
1e1560649c pythonPackages.grpcio-tools: split outputs to reduce runtime closure
protobuf propagates build-arch protobuf, and this prevents it from ending up in
the runtime closure.
2020-11-19 22:05:10 +01:00
Ben Wolsieffer
9518714926 pythonPackages.grpcio: split outputs to avoid runtime build references
protobuf propagates build-arch protobuf, and this commit prevents it from
ending up in grpcio's runtime closure.
2020-11-19 22:05:10 +01:00
Frederik Rietdijk
8d171ccfc3 c-blosc: fix cross 2020-11-19 22:05:10 +01:00
Frederik Rietdijk
d9184fb8b2 pythonPackages.cftime: fix cross 2020-11-19 22:05:10 +01:00
Frederik Rietdijk
346b2212c7 pythonPackages.pybind11: 2.5.0 -> 2.6.1 2020-11-19 22:05:09 +01:00
Frederik Rietdijk
533e56c262 pythonPackages.zstd: fix cross 2020-11-19 22:05:09 +01:00
Guillaume Girol
c694e77ab7
Merge pull request #104228 from herrwiese/for-master/matrix-dl-unstable-2020-07-14
matrix-dl: (unstable-)2019-09-22 -> unstable-2020-07-14
2020-11-19 21:00:54 +00:00
Ben Wolsieffer
f7ec01ab6c mailutils: fix cross-compilation
Add a patch that I submitted upstream to fix cross-compilation.
2020-11-19 21:51:25 +01:00
Ben Wolsieffer
a4c39a624c mailutils: 3.9 -> 3.10 2020-11-19 21:51:25 +01:00
Ben Wolsieffer
82a9f2331c bind: fix cross-compilation
Upstream accidently broke cross-compilation. It has been fixed but not released
yet, so we temporarily add the patch here.
2020-11-19 21:49:19 +01:00
Frederik Rietdijk
489912ee8b pythonPackages.cffi: cffi is a native build input as well 2020-11-19 20:59:16 +01:00
Frederik Rietdijk
27d3a18ac7 buildPython*: don't catch conflicts when cross-compiling
Hack until we fix PYTHONPATH.
2020-11-19 20:59:16 +01:00
Ben Wolsieffer
6501d9880c talloc: fix cross-compilation to 32-bit platforms 2020-11-19 20:42:59 +01:00
Ben Wolsieffer
11806b6ede cpython: fix finding headers when cross-compiling extension modules 2020-11-19 20:42:58 +01:00
Robert Hensing
c68e739300
Merge pull request #104271 from adisbladis/dockertools-cross
dockerTools.buildLayeredImage: Fix cross compilation
2020-11-19 20:41:53 +01:00
Martin Weinelt
5928d66704
microcodeIntel: 20201112 -> 20201118
Fixes a regression on some "OEM platforms".

Relates to #104301
2020-11-19 20:30:53 +01:00
Jonathan Ringer
81d1cea1c0 mercurial: 5.4.2 -> 5.6 2020-11-19 11:29:46 -08:00
Tom McLaughlin
c81c3c3daf
cling: init at 0.7.0 (#64319)
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2020-11-19 14:29:02 -05:00
Jonathan Ringer
635485b85c mercurial: remove dulwich dependency 2020-11-19 11:25:52 -08:00
Scott Worley
5354cd0a16 ghc: Use a real URL for D5123.diff
Please do not use tarballs.nixos.org in src URLs.  tarballs.nixos.org is
a cache, not an authority.

This patch differs from the one in tarballs.nixos.org only in source code
comments.
2020-11-19 20:12:32 +01:00
Scott Worley
0ae2687f9e xmlto: Fix fetch URL 2020-11-19 20:12:32 +01:00
Scott Worley
303adee602 libdevil: Fix patch URL 2020-11-19 20:12:32 +01:00
Scott Worley
82229259dd cyrus-sasl: Tarballs now hosted at github 2020-11-19 20:12:32 +01:00
Scott Worley
d4838aea5b python3Packages.memcached: Fix fetch URL 2020-11-19 20:12:32 +01:00
R. RyanTM
354a3b92b4 gmp: 6.2.0 -> 6.2.1 2020-11-19 20:10:53 +01:00
Mario Rodas
9e802844fc postgresql_13: 13.0 -> 13.1
Release notes: https://www.postgresql.org/docs/13/release-13-1.html
2020-11-19 20:09:49 +01:00
Mario Rodas
93e356349c postgresql_12: 12.4 -> 12.5
Release notes: https://www.postgresql.org/docs/12/release-12-5.html
2020-11-19 20:09:49 +01:00
Mario Rodas
13666eaf58 postgresql_11: 11.9 -> 11.10
Release notes: https://www.postgresql.org/docs/11/release-11-10.html
2020-11-19 20:09:49 +01:00
Mario Rodas
3bfbaf72fa postgresql_10: 10.14 -> 10.15
Release notes: https://www.postgresql.org/docs/10/release-10-15.html
2020-11-19 20:09:49 +01:00
Mario Rodas
efa0efa10b postgresql_9_6: 9.6.19 -> 9.6.20
Release notes: https://www.postgresql.org/docs/9.6/release-9-6-20.html
2020-11-19 20:09:49 +01:00
Mario Rodas
71d2840883 postgresql_9_5: 9.5.23 -> 9.5.24
Release notes: https://www.postgresql.org/docs/9.5/release-9-5-24.html
2020-11-19 20:09:49 +01:00
Frederik Rietdijk
1a33f87245 Merge staging-next into staging 2020-11-19 20:08:38 +01:00