Commit Graph

6487 Commits

Author SHA1 Message Date
legendofmiracles
9fba3c44d7
Merge pull request #176867 from tejasag/submit/init-oak
oak: init at v0.2
2022-06-19 06:38:34 -06:00
Matthieu Coudron
ce505a3984
vimPlugins: use lua derivation if it exists (#178180)
Neovim plugins are now more often than not written in lua.
One advantage of the lua ecosystem over vim's is the existence of
luarocks and the rockspec format, which allows to specify a package
dependencies formally.
I would like more neovim plugins to have a formal description,
"rockspec" being the current candidate.
This MR allows to use nix lua packages as neovim plugins, so as to enjoy
every benefit that rockspecs bring:
- dependdency discovery
- ability to run test suite
- luarocks versioning
- rockspec metadata

the vim update.py script will check if an attribute with the vim plugin
pname exists in lua51Packages. If it does, it uses
buildNeovimPluginFrom2Nix on it, which modifies the luarocks config to
do an almost flat install (luarocks will install the package in the lua
folder instead of share/5.1/lua etc).
It also calls toVimPlugin on it to get all the vim plugin niceties.

The list of packages that could benefit from this is available at
https://luarocks.org/labels/neovim
but I hope it grows.
2022-06-19 14:18:16 +02:00
github-actions[bot]
05f221fbe3
Merge master into staging-next 2022-06-19 06:01:10 +00:00
Adam Joseph
b21933faab cpython: have powerpc64le use "ppc64le" to follow PEP600
The PEP600 standard gives Python's naming scheme for various
architectures; it follows the convention which was in use by Fedora in
2014.  According to PEP600, the architecture name for Power PC is
`ppc64le`, not `powerpc64le`.  This is also how python3 declares its
"supported wheels" under Debian on PowerPC, as checked with `pip debug
--verbose`

  $ pip debug --verbose | grep powerpc
  $ pip debug --verbose | grep ppc | head
  cp39-cp39-manylinux_2_31_ppc64le
  cp39-cp39-manylinux_2_30_ppc64le
  cp39-cp39-manylinux_2_29_ppc64le
  cp39-cp39-manylinux_2_28_ppc64le
  cp39-cp39-manylinux_2_27_ppc64le
  cp39-cp39-manylinux_2_26_ppc64le
  cp39-cp39-manylinux_2_25_ppc64le
  cp39-cp39-manylinux_2_24_ppc64le
  cp39-cp39-manylinux_2_23_ppc64le

Let's adjust the `pythonHostPlatform` expression in
cpython/default.nix to pass the architecture using the naming scheme
Python expects.

Verified on a Raptor Computing Systems Talos II.  Without this commit,
PyQt5 fails to build, failing with "unsupported wheel".  With this
commit, it builds successfully.
2022-06-19 07:46:29 +02:00
github-actions[bot]
b7aba4fb0f
Merge master into staging-next 2022-06-19 00:02:36 +00:00
Matthieu Coudron
011911bc54 luarocks-check-hook: init
The hook is added to buildLuarocksPackage when doCheck is set to true.
2022-06-18 21:23:45 +02:00
github-actions[bot]
8f08f9d222
Merge master into staging-next 2022-06-18 12:01:16 +00:00
Gabriella Gonzalez
cb058dc7ea buildDhallUrl: Respect proxy environment variables
`buildDhallUrl` is a fixed output derivation, which means
that we can (and should) inherit impure proxy-related
environment variables for fetching URLs.

The motivation for this change is:

https://discourse.dhall-lang.org/t/cant-build-a-nixified-dhall-package-in-a-sandbox-depending-on-the-environment/

… where a `buildDhallUrl` derivation was failing in a restricted
networking environment due to not inheriting proxy-related
settings.
2022-06-18 11:09:19 +02:00
Sergei Trofimovich
5ee88ab21d Merge master into staging-next 2022-06-18 08:00:58 +01:00
Jörg Thalheim
4f16be72cb
Revert "ruby: enable O3 optimization"
This reverts commit 64e09fac3d.

This commit should go to staging first.
2022-06-18 07:16:34 +02:00
Jörg Thalheim
3364c75574
Merge pull request #175820 from Mic92/ruby
ruby: enable O3 optimization
2022-06-18 06:14:49 +01:00
Jörg Thalheim
64e09fac3d
ruby: enable O3 optimization 2022-06-18 07:13:21 +02:00
jacobtolar
e449ba23ba
groovy: 3.0.7 -> 3.0.11 2022-06-17 16:32:30 -05:00
github-actions[bot]
c2c4d2b8fa
Merge master into staging-next 2022-06-17 06:01:10 +00:00
R. Ryantm
abc33c65fc clojure: 1.11.1.1129 -> 1.11.1.1139 2022-06-17 02:21:21 +00:00
github-actions[bot]
ccdd0f7af6
Merge master into staging-next 2022-06-16 23:27:22 +00:00
Artturin
843b988680 python3: fix wrong platform libs when cross-compiling
see https://github.com/NixOS/nixpkgs/pull/169475#issuecomment-1129517328

patch by adisbladis

Co-authored-by: adisbladis <adisbladis@gmail.com>
2022-06-16 16:49:18 +03:00
github-actions[bot]
4e74812c3a
Merge master into staging-next 2022-06-15 00:02:12 +00:00
Martin Weinelt
0b63d22aab
Merge pull request #173998 from mweinelt/cpython311 2022-06-15 01:28:11 +02:00
Martin Weinelt
a5c5302ddd
python311: 3.11.0b1 -> 3.11.0b3
https://www.python.org/downloads/release/python-3110b2/
https://pythoninsider.blogspot.com/2022/05/python-3110b2-is-now-available.html

With updated darwin-libutil.patch provided by Randy Eckenrode.

Co-Authored-By: Randy Eckenrode <randy@largeandhighquality.com>
2022-06-15 01:18:26 +02:00
Martin Weinelt
76b76719e7 Merge remote-tracking branch 'origin/master' into staging-next 2022-06-13 10:59:32 +02:00
R. Ryantm
e3f6c19443 clojure: 1.11.1.1124 -> 1.11.1.1129 2022-06-13 01:23:49 +00:00
github-actions[bot]
1f50f0a724
Merge master into staging-next 2022-06-12 12:01:12 +00:00
R. Ryantm
a8d6ba5802 clojure: 1.11.1.1119 -> 1.11.1.1124 2022-06-12 01:22:09 +00:00
github-actions[bot]
3540574f91
Merge master into staging-next 2022-06-10 18:01:27 +00:00
Elis Hirwing
b6d8d68ce9
Merge pull request #177136 from drupol/php/bumps-june-2022
PHP Bumps
2022-06-10 15:51:18 +02:00
github-actions[bot]
ef1a40da01
Merge staging-next into staging 2022-06-10 12:02:21 +00:00
Pol Dellaiera
5d890c086a
php81: 8.1.6 -> 8.1.7 2022-06-10 12:27:08 +02:00
Pol Dellaiera
24e9824ddb
php80: 8.0.19 -> 8.0.20 2022-06-10 12:27:08 +02:00
Elis Hirwing
7afff45088
Merge pull request #174555 from etu/php-drop-php74
php: Drop PHP 7.4
2022-06-10 10:43:31 +02:00
R. Ryantm
056e7bc946 clojure: 1.11.1.1113 -> 1.11.1.1119 2022-06-10 01:32:02 +00:00
github-actions[bot]
2721aade99
Merge staging-next into staging 2022-06-09 12:02:09 +00:00
R. Ryantm
a153c90eec babashka: 0.8.2 -> 0.8.156 2022-06-09 00:52:14 +00:00
Martin Weinelt
6451e9d4a5 Merge remote-tracking branch 'origin/staging-next' into staging 2022-06-08 22:22:26 +02:00
Elis Hirwing
e91811bbe1
php74: Drop PHP 7.4 and add aliases throwing an error 2022-06-08 18:11:55 +02:00
Tejas Agarwal
74ffc37950 oak: init at 0.2 2022-06-08 17:58:32 +05:30
Mario Rodas
0b91b24971
Merge pull request #176505 from thefloweringash/ruby-jemalloc-prop
ruby: move jemalloc to propagatedBuildInputs
2022-06-07 00:05:44 -05:00
Martin Weinelt
a15f7ddc28
spidermonkey_78: pin python39
Because the configure script hasn't been update to work with Python 3.10
and never will. Spidermonkey 78 is EOL.

Traceback (most recent call last):
  File "/build/firefox-78.15.0/obj/../js/src/../../configure.py", line 25, in <module>
    from mozbuild.configure import (
  File "/build/firefox-78.15.0/python/mozbuild/mozbuild/configure/__init__.py", line 33, in <module>
    from mozbuild.util import (
  File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 760, in <module>
    class HierarchicalStringList(object):
  File "/build/firefox-78.15.0/python/mozbuild/mozbuild/util.py", line 785, in HierarchicalStringList
    class StringListAdaptor(collections.Sequence):
AttributeError: module 'collections' has no attribute 'Sequence'
2022-06-06 11:46:07 -07:00
Martin Weinelt
f1ac3fa330
python3Minimal: 3.9 -> 3.10 2022-06-06 11:46:06 -07:00
github-actions[bot]
7842b6ba40
Merge staging-next into staging 2022-06-06 12:02:11 +00:00
Sandro Jäckel
cca70b7324 python-minimal: don't clean meta.maintainer
Every package should have a maintainer and we should not throw it away if we arleady have one.
Also in reality the maintainer of python3 is also the one of python3-minimal
2022-06-06 09:00:59 +02:00
Andrew Childs
e6299e5368 ruby: move jemalloc to propagatedBuildInputs
Alternative malloc implementations in ruby are not fully encapsulated.
Their header files are required when building gems with native
extensions, like bcrypt.
2022-06-06 13:13:32 +09:00
github-actions[bot]
a1bbd60cb7
Merge staging-next into staging 2022-06-05 18:01:45 +00:00
Thomas Gerbet
e366bbf9b6 janet: 1.21.2 -> 1.22.0
Fixes CVE-2022-30763

https://github.com/janet-lang/janet/releases/tag/v1.22.0
2022-06-05 17:35:29 +02:00
github-actions[bot]
b569a7ba09
Merge staging-next into staging 2022-06-05 12:02:45 +00:00
Robert Scott
3b6bc4b69c treewide: set sourceProvenance for packages containing downloaded jars
these are the easily identifiable cases and will not be comprehensive
2022-06-04 19:47:57 +01:00
github-actions[bot]
2e0eeecb7e
Merge staging-next into staging 2022-06-03 18:02:09 +00:00
Sergei Trofimovich
532885f58d unicon-lang: add -fcommon workaround
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:

    ld: ../common/ipp.o:(.bss+0x0): multiple definition of `lpath'; tglobals.o:(.bss+0x30): first defined here
2022-06-02 23:50:42 +01:00
github-actions[bot]
5f6eccb822
Merge staging-next into staging 2022-06-01 12:02:09 +00:00
github-actions[bot]
ebcaa0d01c
Merge master into staging-next 2022-06-01 12:01:27 +00:00