Commit graph

1342 commits

Author SHA1 Message Date
Peder Bergebakken Sundt
6488c3d438 docs/language-frameworks/python: update python{,2,3}Package aliases 2024-08-06 20:16:59 +02:00
Peder Bergebakken Sundt
ef70f7d028 docs/language-frameworks/python: pythonRemoveDepsHook is added automatically 2024-08-06 20:15:54 +02:00
Martin Weinelt
0b0dd33e0a
python312Packages.setuptoolsCheckHook: remove
The hook relied on the `test` command passed to `setup.py`, which has
long been deprecated and finally removed in setuptools 72.0.
2024-08-06 18:18:40 +02:00
Pyrox
875c9f044f pnpm.fetchDeps: Add workspaces support and support for custom pnpm configuration commands
Solves #316908
2024-08-05 18:36:54 +03:00
David McFarland
ebd3b37e6b
Merge pull request #327651 from corngood/dotnet-unpacked-packages
dotnet: use unpacked packages in store
2024-07-31 20:20:13 -03:00
TomaSajt
7224c89e72
doc: update R section to mention .json files 2024-07-31 18:28:38 +02:00
David McFarland
d3ca5027fa dotnet: use unpacked nuget packages 2024-07-31 00:47:14 -03:00
Aleksana
fb3d86ee0d
Merge pull request #330176 from raboof/docs-show-pyproject-instead-of-format
docs: show `pyproject = true;` instead of `format = "pyproject";`
2024-07-31 10:09:20 +08:00
Sigmanificient
aab1113d4a treewide: normalize maintainers list formatting
grep -rP 'maintainers = \[\];'
2024-07-30 16:26:22 +02:00
Arnout Engelen
b2d53203f2
docs: show pyproject = true; instead of format = "pyproject";
every other format is deprecated, so to imply that people should be setting it is misleading

(`pyproject = true` should also go away eventually, but is the way until
then)
2024-07-26 16:11:17 +02:00
K900
1410c766c8 Merge remote-tracking branch 'origin/master' into staging-next 2024-07-26 08:41:08 +03:00
Peder Bergebakken Sundt
99dec1f6b0 treewide: fix doc typos
Done with `fd \\\.md$ . --type f -x typos --write-changes`
2024-07-26 00:55:13 +02:00
Artturin
60e9cffe2c Merge branch 'master' into staging-next 2024-07-22 22:53:31 +03:00
Franz Pletz
719e8e672b
Merge pull request #328876 from katexochen/buildGoPackage/deprecate 2024-07-21 22:32:03 +02:00
Paul Meyer
653e79254a doc: document deprecation of buildGoPackage
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-21 13:03:27 +02:00
Vladimír Čunát
577f40b8a9
Merge branch 'staging' into staging-next 2024-07-20 16:12:24 +02:00
Alexis Hildebrandt
ab42ca141a doc: Remove indefinite article and ending period from example meta.description
so that meta.description examples shown in the documentation
align with recommendations given in the "Meta attributes" section
in pkgs/README.md.

The changes were made with the following commands:
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*"([Aa]n?|[Tt]he)\s' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/"([Aa]n?|[Tt]he)\s(.)/"\U\2/'
nix run nixpkgs#silver-searcher -- -l0 'description\s*=\s*".*\."' doc \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee '/description/s/\."/"/'
2024-07-20 09:18:42 +02:00
Artturin
a516ea8c99 Merge branch 'staging-next' into staging 2024-07-16 19:07:48 +03:00
Thiago Kenji Okada
5d2257ba7b doc/vim.section.md: fix references to the old update.py script
Running the `update.py` script directly doesn't work anymore, so instead
replace all usages of it in the documentation with `nix-shell -p
vimPluginsUpdater --run 'vim-plugins-updater'`.
2024-07-15 10:09:28 +01:00
Atemu
476b450df8
Merge pull request #272380 from chayleaf/gradle2
gradle: add setup hook
2024-07-14 22:08:41 +02:00
Vladimír Čunát
211398c03e
Merge branch 'staging-next' into staging 2024-07-14 08:35:35 +02:00
Pol Dellaiera
0ea5202cc3
Merge pull request #326864 from jtojnar/php-mkrepo-docs
doc/php: Fix mkComposerRepository example
2024-07-14 07:43:32 +02:00
Jan Tojnar
05f5dbd470 doc/php: Fix mkComposerRepository example
`mkComposerRepository` required `pname` and `version` since the beginning
(b36ad2f517), with the boolean attribute
becoming required later (3eb168da92).
2024-07-13 18:56:35 +02:00
chayleaf
c12b2a0b19
gradle: add setup hook 2024-07-12 21:36:09 +07:00
github-actions[bot]
b66506a79e
Merge staging-next into staging 2024-07-12 12:01:44 +00:00
Martin Weinelt
176a56c40f
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/applications/misc/blender/default.nix
- pkgs/development/web/nodejs/nodejs.nix
2024-07-11 01:06:28 +02:00
Doron Behar
ee7cfec5aa doc/javascript: document yarn{Config,Build}Hook 2024-07-10 09:39:03 +03:00
Weijia Wang
566d3c2bf8
Merge pull request #288691 from konst-aa/nixify-akku
akku: Add akkuPackages, introduce deps.toml
2024-07-08 14:35:03 +02:00
Konstantin Astafurov
29e9baf2fd akku: Add akkuPackages, introduce deps.toml 2024-07-07 18:45:48 -04:00
Martin Weinelt
e7b1ee45cf
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/tools/misc/watchlog/default.nix
2024-07-06 01:52:35 +02:00
github-actions[bot]
30cfd4445f
Merge master into staging-next 2024-07-05 00:02:21 +00:00
David McFarland
4f7953d244
Merge pull request #324526 from Aleksanaa/nugetHash
dotnet: add SRI hash support to dotnet packages
2024-07-04 20:59:56 -03:00
github-actions[bot]
36cbae9ff0
Merge master into staging-next 2024-07-04 18:01:19 +00:00
aleksana
379b5c2995 doc/dotnet: document SRI hash support in dotnet package 2024-07-04 20:16:51 +08:00
aleksana
673aefdf8e doc/dart: minor sha256 -> hash change
This is to prevent future people from copying this format and
introducing more sha256.
2024-07-04 18:40:06 +08:00
aleksana
cb93149275 doc/rust: deprecate cargoSha256 2024-07-03 21:54:33 +08:00
Martin Weinelt
7b8429bbc4
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/jaxtyping/default.nix
2024-07-02 12:08:49 +02:00
Jan Tojnar
2be24442bb nautilus: Move from gnome scope to top-level 2024-07-01 08:26:44 +02:00
github-actions[bot]
e335319c82
Merge master into staging-next 2024-06-28 12:01:10 +00:00
Valentin Gagarin
1ee872a769
doc: add a generic section on exploring package sets (#317392)
this removes the hard-coded listing from the Haskell examples, which can later be replaced by
a dynamic one as for the Python interpreters

* fix broken reference

* clarify why using `nix-env --query` makes sense

Co-authored-by: wamirez <wamirez@protonmail.com>
2024-06-28 12:10:56 +02:00
github-actions[bot]
d2651fbc94
Merge master into staging-next 2024-06-26 06:01:18 +00:00
éclairevoyant
48893bc89b
Merge pull request #322184 from YoshiRulz/dotnet-docs
doc: Update note under `buildDotnetModule` to reflect actual behaviour
2024-06-26 01:22:50 +00:00
YoshiRulz
5c3f56c32a
doc: Update note under buildDotnetModule to reflect actual behaviour 2024-06-26 06:17:53 +10:00
Martin Weinelt
de245ec4a5
Merge remote-tracking branch 'origin/master' into staging-next 2024-06-25 13:00:25 +02:00
Fabián Heredia Montiel
3ff3888250
Merge pull request #322006 from mattpolzin/buildIdris-better-lib-ergonomics
idris2Packages.buildIdris: better lib ergonomics
2024-06-25 00:52:06 -06:00
Artturin
9ed27f4670
Merge pull request #315700 from sysraccoon/android-doc-fix
doc: swap ANDROID_HOME and ANDROID_SDK_ROOT in android section
2024-06-24 23:10:40 +03:00
Martin Weinelt
c02aa9b62f
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/development/python-modules/pixel-font-builder/default.nix
- pkgs/development/python-modules/unidata-blocks/default.nix
2024-06-24 15:35:04 +02:00
Mango The Fourth
36e8d8a53b
vimPlugins.nvim-treesitter: fix update.py and update documentation (#321535)
* vimPlugins.nvim-treesitter: fix update.py and update documentation
2024-06-24 14:53:31 +02:00
Mathew Polzin
77a37cde20 doc: adopt new buildIdris changes in docs 2024-06-23 12:07:13 -05:00
github-actions[bot]
fb94da4e9e
Merge staging-next into staging 2024-06-21 18:01:30 +00:00
Aleksana
e739feeb6e
Merge pull request #321272 from Aleksanaa/flutter-doc
doc/dart: minor fix to example code
2024-06-21 21:52:39 +08:00
github-actions[bot]
c6707a9686
Merge staging-next into staging 2024-06-21 12:01:53 +00:00
superherointj
40ae5e072c
build-support/ocaml: deprecate minimumOCamlVersion (#319907)
* ocamlPackages.wtf8: use minimalOCamlVersion

* ocamlPackages.ppx_yojson_conv: minimalOCamlVersion

* ocamlPackages.postgresql: use minimalOCamlVersion

* ocamlPackages.opti: use minimalOCamlVersion

* ocamlPackages.opam-repository: use minimalOCamlVersion

* ocamlPackages.opam-format: use minimalOCamlVersion

* ocamlPackages.lwt-dllist: use minimalOCamlVersion

* ocamlPackages.lacaml: use minimalOCamlVersion

* ocamlPackages.gnuplot: use minimalOCamlVersion

* ocamlPackages.fix: use minimalOCamlVersion

* ocamlPackages.eigen: use minimalOCamlVersion

* ocamlPackages.earley: use minimalOCamlVersion

* ocamlPackages.directories: use minimalOCamlVersion

* ocamlPackages.cpuid: use minimalOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

* build-support/ocaml: deprecate minimumOCamlVersion

---------

Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com>
2024-06-21 10:29:31 +02:00
aleksana
4e6ae7836d doc/dart: minor fix to example code 2024-06-20 23:03:34 +08:00
Martin Weinelt
f822b2ba5c Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
- pkgs/development/python-modules/langsmith/default.nix
- pkgs/development/python-modules/rich-pixels/default.nix
- pkgs/servers/teleport/generic.nix
2024-06-18 20:16:19 +02:00
Pol Dellaiera
4b2ef8f2f0
Merge pull request #315233 from numinit/android-studio-full
android-studio-full: init
2024-06-16 08:35:21 +02:00
Martin Weinelt
58ca021599
docs/language-frameworks/python: update relaxDepsHook docs 2024-06-14 14:51:23 +02:00
github-actions[bot]
19bc81875f
Merge staging-next into staging 2024-06-14 00:02:47 +00:00
Ilan Joselevich
85d871cf14
Merge pull request #319624 from flokli/rust-config
config.rust: update references from rustc
2024-06-14 00:47:45 +03:00
Florian Klink
50261c0602 config.rust: update references from rustc
`rustc.config` is called `rust.rustcTarget` now, and
`{rustc -> rust}.platform`.

This is the new way (tm), and is preferred since
https://github.com/NixOS/nixpkgs/pull/271707 -
though the documentation still is outdated, and some expressions in
nixpkgs were using the old interface.

This updates both.
2024-06-13 21:08:48 +03:00
Arnout Engelen
5411928737
ruby: make 3.3 the default
According to https://www.ruby-lang.org/en/downloads/ this is the
'stable' release
2024-06-13 15:04:29 +02:00
github-actions[bot]
aacd9cf894
Merge staging-next into staging 2024-06-13 00:02:48 +00:00
Robert Hensing
299bd6aa7c doc/haskell: Dedup and edit justStaticExecutables
Make sure all relevant info is in the user manual and avoid duplication
of efforts, or things going out of sync.
2024-06-13 00:25:41 +02:00
github-actions[bot]
aaf691124c
Merge staging-next into staging 2024-06-11 18:01:49 +00:00
OTABI Tomoya
6a3857a295
Merge pull request #316591 from natsukium/python-docs/update
doc/languages-frameworks/python: update
2024-06-11 23:23:34 +09:00
github-actions[bot]
507aeeb037
Merge staging-next into staging 2024-06-09 00:03:32 +00:00
Martin Weinelt
7ff8facb8b
Merge remote-tracking branch 'origin/staging-next' into staging 2024-06-07 07:25:52 +02:00
github-actions[bot]
a5d1b908b4
Merge master into haskell-updates 2024-06-07 00:13:56 +00:00
Peder Bergebakken Sundt
4f06a00fa9
Merge pull request #295155 from onemoresuza/hare-hook
hareHook: init
2024-06-06 23:55:33 +02:00
github-actions[bot]
f88b87f09f
Merge staging-next into staging 2024-06-06 12:02:28 +00:00
Doron Behar
01d57709ec
Merge pull request #290715 from Scrumplex/pkgs/build-support/fetchPnpmDeps
pnpm.fetchDeps: init
2024-06-06 09:41:22 +03:00
github-actions[bot]
bd4363d68b
Merge master into haskell-updates 2024-06-06 00:13:27 +00:00
github-actions[bot]
c05b6cffb5
Merge staging-next into staging 2024-06-06 00:02:48 +00:00
Maciej Krüger
b4bde132af
Merge pull request #316144 from Aleksanaa/flutter-apps
{yubioath-flutter, flet-client-flutter, fluffychat}: pin to flutter 3.19
2024-06-05 20:57:06 +02:00
Coutinho de Souza
cfa58200cd
doc/hare: init 2024-06-04 20:33:11 -03:00
Morgan Jones
7f03a67b0b
{doc/android,release-notes}: update android-studio and androidenv 2024-06-03 23:01:44 -07:00
natsukium
513573a582
doc/languages-frameworks/python: update contributing section 2024-06-04 09:02:05 +09:00
natsukium
b6bf10bf70
doc/languages-frameworks/python: adjust expression to explanation 2024-06-04 09:02:05 +09:00
natsukium
ef61a6339c
doc/languages-frameworks/python: normalize pname and add description 2024-06-04 09:02:05 +09:00
natsukium
a4d5b56448
doc/languages-frameworks/python: fix typo 2024-06-04 09:02:05 +09:00
natsukium
8f9e861543
doc/languages-frameworks/python: add extra information for pythonRelaxDepsHook 2024-06-04 09:02:05 +09:00
natsukium
1b4462bb0c
doc/languages-frameworks/python: clean up build-system
add setuptools explicitly and remove wheel
2024-06-04 09:02:04 +09:00
natsukium
1c90c05bbc
doc/languages-frameworks/python: disable check explicitly and add pythonImportsCheck 2024-06-04 09:02:04 +09:00
natsukium
130da0dd42
doc/languages-frameworks/python: update the description for tests 2024-06-04 09:02:04 +09:00
Doron Behar
c704c02956 doc/javascript: pnpm: mention lack of monorepos/workspaces support 2024-06-03 17:09:22 +03:00
Ivan Trubach
8d5563ec25 iwona: fix build failure caused by src being a symlink 2024-06-03 11:11:15 +03:00
Sefa Eyeoglu
74f5ff78bf
pnpm.fetchDeps: init
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-06-02 19:56:11 +02:00
natsukium
0a509b237a
doc/languages-frameworks/python: update the description for pypa builder/instller 2024-06-02 12:25:11 +09:00
aleksana
09fa054a4d doc/dart: require to specify flutter version
Context:

@FlafyDev: I think flutter apps in nixpkgs should be required to specify
a flutter version. like flutter319 and flutter322 instead of using
flutter.

https://github.com/NixOS/nixpkgs/pull/313711
2024-05-31 20:11:49 +08:00
sternenseemann
c2b48909d6 Merge master into haskell-updates 2024-05-31 12:49:29 +02:00
Emery Hemingway
f42e7e8c03 doc/languages-frameworks/nim: fix buildNimPackage example
fix #287355
2024-05-30 08:12:39 +00:00
Emery Hemingway
5b321ac6b3 nimOverrides: do not pass final attrset to override funcs
The final attrset is not used by any of the overrides and presents
a infinite recursion hazard.

Performance of buildNimPackage is improved.
2024-05-30 08:12:39 +00:00
sysraccoon
b6f6e50765 doc: swap ANDROID_HOME and ANDROID_SDK_ROOT in android section 2024-05-29 21:41:38 +03:00
Rebecca Turner
d2618822ab haskell.lib.compose.justStaticExecutables: Forbid references to GHC
This makes `justStaticExecutables` error if the produced store path
contains references to GHC. This is almost always erroneous and due to
the generated `Paths_*` module being imported. This helps prevent
`justStaticExecutables` from producing binaries with closure sizes in
the gigabytes.

See: https://github.com/NixOS/nixpkgs/issues/164630

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2024-05-27 21:08:16 +02:00
David McFarland
f17d1f9302
Merge pull request #313514 from tie/dotnet-cross-split
buildDotnetModule: fix cross-compilation and remove dotnet-test-sdk
2024-05-23 14:05:46 -03:00
Alejandro Sánchez Medina
0cb4674319
doc: autogenerate python interpreter table (#313408)
* doc: autogenerate python interpreter table

This serves as a practical example on generating documentation by
inspection of the evaluated Nixpkgs tree.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-05-23 10:36:15 +02:00
Ivan Trubach
0e64e645c9 buildDotnetModule: fix cross-compilation and remove dotnet-test-sdk
This change fixes cross-compilation for .NET packages (that are not
using .sln as project files). See relevant comment in the change list
for more details.

In addition to that, it removes dotnet-test-sdk that appears to be
broken, that is, dotnet --list-sdks does not recognize SDKs from PATH,
and when propagated from the check hook it was shadowed by inputs from
preceding hooks.

Note that dotnet-test-sdk used to work when it was introduced in PR
144062, but PR 155257 probably overlooked this case. However, currently
it is not used in Nixpkgs and I think dotnetCorePackages.combinePackages
should cover the intended use case for dotnet-test-sdk.
2024-05-22 03:08:42 +03:00
github-actions[bot]
cb21dbcf55
Merge master into haskell-updates 2024-05-10 00:13:33 +00:00
Armando Ramirez
876d055062 callCabal2nixWithOptions: add srcModifier argument
Fixes #256769

Repro + test of fix here: https://gitlab.com/ramirez7/bug-repros/-/merge_requests/1

Adds a `srcModifier` argument to `callCabal2nixWithOptions` to allow
customizing the source files used to generate the cabal file (e.g. to
support `hpack`/`package.yaml`).
2024-05-09 23:55:37 +02:00
Florian Engel
706b41a4df
doc/go: Update url for module documentation
The old wiki is deprecated
2024-05-09 17:24:44 +02:00