3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

6401 commits

Author SHA1 Message Date
Thiago Kenji Okada e19019fe32 pythonRelaxDepsHook: init
We have a common pattern here in nixpkgs for Python applications: when a
Python package ships with either a requirements.txt or setup.py file, we
generally end up having to modify its version restriction, otherwise we have
build failures since we package only one specific version of each package
normally.

However, this end up being done in a completely ad-hoc way: some people
use substituteInPlace, some others use sed, others uses patches, etc.
In many cases, the code ends up being buggy, so it may work in one
version and breaks on the next one. We can instead implement one
standard way of doing this, and trying to be a correct as possible.

So this is what this commit does: it implements a new build hook, that
when called will automatically patch the wheel file. This is one of the
most generic ways to patch Python dependencies, and should work in
multiple cases.
2022-04-30 13:19:30 +01:00
Dmitry Bogatov 6b8b02cef7
python3.pkgs.sphinxHook: new package
This hook takes care of building and installing html documentation from Sphinx
sources.
2022-04-29 08:45:38 -04:00
github-actions[bot] 58538c1840
Merge staging-next into staging 2022-04-28 18:07:38 +00:00
Vladimír Čunát 84de05dba7
Merge branch 'master' into staging-next 2022-04-28 18:05:38 +02:00
Vladimír Čunát 8caa1418f6
Merge branch 'master' into staging-next-2022-04-23 2022-04-28 18:04:16 +02:00
Bobby Rong d6315ad42f
Merge pull request #167066 from r-ryantm/auto-update/sollya
sollya: 7.0 -> 8.0
2022-04-28 21:28:41 +08:00
Armeen Mahdian 3d3ce64993 alda: 2.2.0 -> 2.2.3 2022-04-26 15:53:19 -05:00
github-actions[bot] 6f99633360
Merge staging-next into staging 2022-04-26 12:09:41 +00:00
github-actions[bot] e7703dd154
Merge master into staging-next 2022-04-26 12:04:22 +00:00
Bobby Rong a67323002c
Merge pull request #165646 from r-ryantm/auto-update/joker
joker: 0.18.0 -> 1.0.0
2022-04-26 18:39:13 +08:00
github-actions[bot] 413490ab0d
Merge staging-next into staging 2022-04-26 06:01:45 +00:00
github-actions[bot] f8c265f433
Merge master into staging-next 2022-04-26 06:01:08 +00:00
Rick van Schijndel 4586388f85
Merge pull request #170320 from andersk/negated-version
treewide: Simplify negated uses of versionAtLeast, versionOlder
2022-04-26 07:50:15 +02:00
Anders Kaseorg 6920d8ca42 treewide: Simplify negated uses of versionAtLeast, versionOlder
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-04-25 13:35:24 -07:00
Thiago Kenji Okada d6d8c43d11 pythonInterpreters.graalpython37: remove 2022-04-25 17:53:06 +01:00
github-actions[bot] 978c7ce28c
Merge staging-next into staging 2022-04-24 18:01:40 +00:00
github-actions[bot] 6f66eac9d1
Merge master into staging-next 2022-04-24 18:01:04 +00:00
Sergei Trofimovich a649d4f038 python: use whitespace to split possible existing options
Noticed option globbing when tried to enable parallelism by default
locally for most packages by default. python3Packages.yt-dlp failed as:

    python3.9-yt-dlp> /nix/store/5mywvxdjkk1q6srwwwgdkzc37ibla801-python3.9-setuptools-61.2.0/lib/python3.9/site-packages/setuptools/dist.py:516: UserWarning: Normalizing '2022.04.08' to '2022.4.8'
    python3.9-yt-dlp>   warnings.warn(tmpl.format(**locals()))
    python3.9-yt-dlp> invalid command name 'build_lazy_extractors--parallel'

The change adds leading whitespace everywhere where options might
already be present.
2022-04-24 14:28:26 +02:00
github-actions[bot] b9e4b22843
Merge master into staging-next 2022-04-24 12:01:14 +00:00
Elis Hirwing f4edd23812
Merge pull request #169728 from shyim/patch-2
php: fix extensions on php-cgi
2022-04-24 10:28:42 +02:00
Travis A. Everett a60c1dbb51 bats: move installCheck into passthru.tests
I happily painted myself into a corner when converting bats to use
resholve. Since resholve tests itself with bats, all updates to
resholve now require rebuilding bats. The build itself is quick, but
the tests take a few minutes; moving them into passthru saves time. :)
2022-04-23 16:05:53 -05:00
Travis A. Everett 749b97bb23 bats: improve package w/ new resholve features
The resholve 0.8.0 release includes better support for intra-package
references, making it possible to also resholve files in lib/libexec.

This process helped shake loose 5 more unnoticed package dependencies,
and enable bats' parallel execution support.
2022-04-23 16:02:19 -05:00
github-actions[bot] fddf656b60
Merge master into staging-next 2022-04-23 18:01:13 +00:00
Vladimír Čunát 82ec893b68
Merge branch 'staging' into staging-next 2022-04-23 18:10:57 +02:00
Anderson Torres abe23368de
Merge pull request #169656 from AndersonTorres/new-nickel
nickel: init at 0.1.0
2022-04-23 11:15:24 -03:00
R. Ryantm 4bcda364c3 clojure: 1.11.1.1107 -> 1.11.1.1113 2022-04-23 01:22:33 +00:00
AndersonTorres 57f964efe9 nickel: init at 0.1.0 2022-04-22 20:43:12 -03:00
Artturi 785373a76f
Merge pull request #166605 from siraben/remove-redundant-stdenv 2022-04-22 20:25:38 +03:00
Phillip Cloud 52248e4466 python: enable opt-in parallel build_ext builds for setuptools 2022-04-22 18:25:12 +02:00
Shyim 994b6400c8
php: remove whitespace 2022-04-22 10:24:55 +02:00
Shyim 8fb8ccb179
php: fix extensions on php-cgi 2022-04-22 10:16:29 +02:00
Mario Rodas 683d310db7 zuo: init at 2022-04-15 2022-04-22 04:20:00 +00:00
github-actions[bot] cbc56d5cc3
Merge staging-next into staging 2022-04-21 18:02:06 +00:00
Sandro 581b9541be
Merge pull request #147011 from lilyinstarlight/feature/supercollider-plugins 2022-04-21 16:11:34 +02:00
adisbladis 881ea516cf python3: Whitelist config options when overriding interpreter
In the case of cross compilation we don't want pass through build
inputs from the cross platform, but we do want to pass on config options.
2022-04-21 14:50:28 +02:00
Frederik Rietdijk ba02fd0434 python3: fix overriding of interpreters, closes #163639
Overriding the interpreters did not work correctly. When overriding
packages would end up twice in the build time closure: one corresponding
to the overridden interpreter and one corresponding to the original
interpreter. The reason is that the override was not applied to the
interpreters in the spliced package sets.
2022-04-21 14:50:28 +02:00
github-actions[bot] 91a1bc431e
Merge staging-next into staging 2022-04-21 12:01:54 +00:00
Rafael Fernández López 9c653ec608 wasmtime: 0.35.2 -> 0.36.0 2022-04-21 07:57:16 -04:00
Atemu 7f802c7046 python-wrapper: use makeBinaryWrapper
A "python" made with the wrapper is likely to be used as a shebang. On macOS,
this requires a binary rather than another shebang'd script.
2022-04-20 21:59:47 +02:00
Domen Kožar f33b059782
Merge pull request #161093 from Sciencentistguy/dart-arrch64-darwin
Dart: Add support for aarch64-darwin
2022-04-20 09:42:17 +01:00
Vladimír Čunát 9c6d3daf9d
Merge #168450: luajit*: update 2022-04-20 09:32:17 +02:00
Lily Foster 2b7ebac344 supercollider: add sc3-plugins test 2022-04-18 06:20:02 -04:00
Lily Foster 591754016f supercolliderPlugins.sc3-plugins: init at 3.11.1 2022-04-18 06:00:04 -04:00
Lily Foster 089f8b107b supercollider: add plugin support 2022-04-18 06:00:04 -04:00
Lily Foster 09f63fb46c supercollider: change maintainer to lilyinstarlight 2022-04-18 06:00:04 -04:00
Ben Siraphob 259fa13d53 treewide: remove nativeBuildInputs that are in stdenv 2022-04-16 21:46:46 +03:00
github-actions[bot] 6be56bfc2e
Merge master into staging-next 2022-04-16 12:01:10 +00:00
R. Ryantm d48d193e6b babashka: 0.8.0 -> 0.8.1 2022-04-16 01:13:25 +00:00
Fabián Heredia Montiel 75e732b709 gnuapl: add extra -Wno-error for gcc11 2022-04-15 11:56:50 -05:00
Martin Weinelt a7fc5aaa76 Merge remote-tracking branch 'origin/master' into staging-next 2022-04-15 13:30:48 +02:00
Lassulus 92734ac395
Merge pull request #166865 from malob/treewide-mainProgram
treewide: add meta.mainProgram to many packages
2022-04-15 09:28:00 +01:00
Maximilian Bosch 0772c92925
Merge pull request #168514 from drupol/php/april-2022-bumps
php: bumps (April 2022)
2022-04-15 08:42:09 +02:00
Martin Weinelt f65c792154
Merge pull request #168401 from jboyens/bump-ruby 2022-04-15 02:23:26 +02:00
JR Boyens 5bd5ab2410 ruby_3_1: 3.1.1 -> 3.1.2
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/

Fixes: CVE-2022-28738, CVE-2022-28739
2022-04-15 02:22:24 +02:00
JR Boyens 3e995fbb31 ruby_3_0: 3.0.3 -> 3.0.4
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/

Fixes: CVE-2022-28738, CVE-2022-28739
2022-04-15 02:21:54 +02:00
JR Boyens dd5210d85a ruby_2_7: 2.7.5 -> 2.7.6
https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/

Fixes: CVE-2022-28739
2022-04-15 02:21:06 +02:00
Malo Bourgon 0e802eafad treewide: add meta.mainProgram to many packages 2022-04-14 10:24:01 -07:00
Pol Dellaiera abb096f629
php80: 8.0.17 -> 8.0.18 2022-04-14 15:43:35 +02:00
Vladimír Čunát d5d94127fd
Merge branch 'staging-next' into staging
Minor conflicts; I hope I didn't mess up:
	pkgs/development/tools/misc/binutils/default.nix
	pkgs/games/openjk/default.nix
2022-04-14 09:53:21 +02:00
Martin Weinelt 66beaa9225
cpython: update patches for 3.11a7 on darwin 2022-04-14 01:33:33 +02:00
Pol Dellaiera 47d7d17126
php81: 8.1.4 -> 8.1.5 2022-04-13 20:07:25 +02:00
Pol Dellaiera ba45a559b5
php74: 7.4.28 -> 7.4.29 2022-04-13 20:07:08 +02:00
Luka Blaskovic ce8dab1b44 luajit: 2.0.5-2021-10-02, 2.1.0-2021-10-27 -> 2.0.5-2022-03-13, 2.1.0-2022-04-05
* switch to SRI hashes
2022-04-13 06:33:05 +00:00
Vladimír Čunát e1118817a1
Merge #168140: staging-next 2022-04-10 2022-04-12 19:20:51 +02:00
Martin Weinelt 52843aefea python39: 3.10.3 -> 3.10.4
https://www.python.org/downloads/release/python-3104/
https://docs.python.org/release/3.10.4/whatsnew/changelog.html
2022-04-12 18:27:46 +02:00
Martin Weinelt 0c57648722 python39: 3.9.11 -> 3.9.12
https://www.python.org/downloads/release/python-3912/
https://docs.python.org/release/3.9.12/whatsnew/changelog.html
2022-04-12 18:27:46 +02:00
Martin Weinelt 24ce3fcf7c
python311: 3.11.0a6 -> 3.11.0a7
https://www.python.org/downloads/release/python-3110a7/

https://pythoninsider.blogspot.com/2022/04/the-last-python-311-alpha-3110a7-is.html
2022-04-12 05:14:23 +02:00
github-actions[bot] bf63dd7434
Merge staging-next into staging 2022-04-10 18:01:38 +00:00
github-actions[bot] 7feda9ba09
Merge master into staging-next 2022-04-10 18:01:07 +00:00
R. Ryantm a47e82e785 elixir: 1.13.3 -> 1.13.4 2022-04-10 13:01:07 -04:00
Stig Palmquist 836d406251
perl: use pkgs.zlib instead of bundled zlib
(cherry picked from commit d1adf50277 from PR #167084)
2022-04-10 10:36:09 +02:00
github-actions[bot] 28c6c88d42
Merge staging-next into staging 2022-04-10 00:02:52 +00:00
Doron Behar 13c8900b5c
Merge pull request #167900 from r-ryantm/auto-update/octave 2022-04-09 23:40:46 +03:00
github-actions[bot] 55db28db36
Merge staging-next into staging 2022-04-09 18:01:56 +00:00
Janne Heß f263888bdc
Merge pull request #167435 from stigtsp/package/rakudo-2022.03
rakudo: 2022.02 -> 2022.03
2022-04-09 19:38:05 +02:00
Doron Behar 88e6baf832 octave: Remove JIT support (removed upstream) 2022-04-09 19:52:16 +03:00
github-actions[bot] 01b0aa0bc6
Merge staging-next into staging 2022-04-09 06:01:47 +00:00
Travis A. Everett 368346c5a1 resholve: track API update in dependent packages 2022-04-08 21:13:20 -04:00
Lassulus 81dc2b51fd
Merge pull request #164301 from stigtsp/package/perl-5.34.1
perl: 5.34.0 -> 5.34.1, perldevel: 5.35.4 -> 5.35.9, perl.perl-cross: 393821c7 -> 1.3.7
2022-04-08 17:56:55 +01:00
Janne Heß f4de52a156
Merge pull request #167084 from stigtsp/fix/perl-core-zlib
perl: use pkgs.zlib instead of bundled zlib
2022-04-08 18:53:32 +02:00
R. Ryantm bd1e8ccfef octave: 6.4.0 -> 7.1.0 2022-04-08 16:23:23 +00:00
github-actions[bot] a36cec68d4
Merge staging-next into staging 2022-04-08 12:02:01 +00:00
Martin Weinelt cc774b5792 Merge remote-tracking branch 'origin/staging-next' into staging 2022-04-07 12:12:57 +02:00
Will 7979a1b294 spidermonkey_91: 91.7.0 -> 91.8.0 2022-04-07 08:44:04 +00:00
R. Ryantm 05bb0a39e3 clojure: 1.11.0.1100 -> 1.11.1.1107 2022-04-06 19:59:08 +00:00
github-actions[bot] 3dc8bd98b9
Merge staging-next into staging 2022-04-06 00:02:41 +00:00
Stig Palmquist db0a2f538e nqp: 2022.02 -> 2022.03 2022-04-06 00:44:55 +02:00
Stig Palmquist 38b516e144 moarvm: 2022.02 -> 2022.03 2022-04-06 00:44:41 +02:00
Stig Palmquist 7abc40e37a rakudo: 2022.02 -> 2022.03 2022-04-06 00:44:19 +02:00
Vladimír Čunát b4729bad3d
Merge #165406: staging-next 2022-03-23 2022-04-05 20:34:08 +02:00
R. Ryantm e149ce8eb5 babashka: 0.7.8 -> 0.8.0 2022-04-05 07:27:47 +00:00
github-actions[bot] ba0cd3c436
Merge staging-next into staging 2022-04-05 06:02:19 +00:00
github-actions[bot] 444daea093
Merge master into staging-next 2022-04-05 06:01:45 +00:00
Martin Weinelt bf1914e12a Merge remote-tracking branch 'origin/staging-next' into staging 2022-04-05 04:05:02 +02:00
R. Ryantm 4561be3064 janet: 1.21.1 -> 1.21.2 2022-04-05 08:57:08 +08:00
github-actions[bot] 120925b5cb
Merge master into staging-next 2022-04-05 00:02:06 +00:00
Robert Hensing a292213c44
Merge pull request #166792 from hercules-ci/pkgs-config-allowAliases-option
config.allowAliases: Define as option
2022-04-04 21:09:44 +02:00
github-actions[bot] 5844b1c2fa
Merge master into staging-next 2022-04-04 18:01:27 +00:00
Mike Sperber bced189985
scsh: Update to latest head, unbreaking the build
The only difference with the previous revision is that the submodule URL is now https: instead of unauthenticated git@ protocol - this pull request:

https://github.com/scheme/scsh/pull/44
2022-04-04 18:23:58 +02:00
Mario Rodas faddaa7fb2
Merge pull request #161801 from thefloweringash/ruby-revision
ruby: specify RUBY_REVISION
2022-04-04 06:42:43 -05:00