Commit Graph

57 Commits

Author SHA1 Message Date
R. Ryantm
6a81d40331 cpuinfo: 0-unstable-2024-11-14 -> 0-unstable-2024-12-09 2024-12-11 06:50:53 +00:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
R. Ryantm
acee313dfc cpp-utilities: 5.26.1 -> 5.27.0 2024-12-04 23:27:37 +00:00
Nick Cao
fc0a7fe9c0
cplay-ng: 5.2.0 -> 5.3.1 (#357093) 2024-12-03 14:13:50 -05:00
Emily
86a5932c68
cpptoml: add patch for GCC 11
(cherry picked from commit fcb99bc19c)
(cherry picked from commit af860c5e03)
2024-11-30 15:11:33 +01:00
Francesco Gazzetta
fd17f3cd76 cplay-ng: 5.2.0 -> 5.3.1
Diff: https://github.com/xi/cplay-ng/compare/5.2.0...5.3.1
2024-11-25 17:10:36 +01:00
R. Ryantm
53fb28e0f5 cpuinfo: 0-unstable-2024-09-26 -> 0-unstable-2024-11-14 2024-11-22 22:35:39 +00:00
Rick van Schijndel
efa952e65b
cpm-cmake: Set CURRENT_CPM_VERSION; adopt; format (#354654) 2024-11-12 08:47:12 +01:00
R. Ryantm
a9d5d5b9f1 cppreference-doc: 20240610 -> 20241110 2024-11-11 02:06:01 +00:00
Gavin John
7d627de21b
cpm-cmake: remove a with lib from meta 2024-11-10 12:11:49 -08:00
Gavin John
612e61fd7a
cpm-cmake: nixfmt 2024-11-10 12:11:46 -08:00
Gavin John
ba62c1d849
cpm-cmake: Add pandapip1 to maintainers list 2024-11-10 12:11:44 -08:00
Gavin John
182a524cce
cpm-cmake: Set CURRENT_CPM_VERSION
cpm-cmake has a test to see if the CURRENT_CPM_VERSION contains development-version, and if so, it produces a warning. By setting it to the correct value, this warning is dismissed
2024-11-10 12:11:41 -08:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Markus Kowalewski
17aacfb690
mpiCheckPhaseHook: disable openmpi's ssh plugin (#351473) 2024-11-02 13:33:57 +01:00
R. Ryantm
feca8a8a56 cppcheck: 2.15.0 -> 2.16.0 2024-10-28 17:10:55 +01:00
Markus Kowalewski
ddd6f3fb1f cp2k: remove openssh from checkInputs
Is taken care of by mpiCheckPhaseHook
2024-10-26 17:44:44 +02:00
Gaetan Lepage
b4071a961b cpplint: 1.7.0 -> 2.0.0
Diff:
8f62396aff...2.0.0

Changelog: https://github.com/cpplint/cpplint/releases/tag/2.0.0
2024-10-11 23:49:34 +02:00
Gaetan Lepage
4dfb8fcd79 cpplint: format 2024-10-11 23:49:34 +02:00
Gaetan Lepage
d4edb4da04 cpplint: move to by-name 2024-10-11 23:49:34 +02:00
R. Ryantm
539f7fd787 cpu-x: 5.0.4 -> 5.1.0 2024-10-07 12:42:41 +00:00
R. Ryantm
921a21a26f cpuinfo: 0-unstable-2024-09-11 -> 0-unstable-2024-09-26 2024-09-29 10:10:04 +00:00
Markus Kowalewski
4fc8395633
cp2k: move to pkgs/by-name 2024-09-27 10:54:24 +02:00
Weijia Wang
791c4b0a49
cpuinfo: 0-unstable-2024-08-30 -> 0-unstable-2024-09-11 (#342977) 2024-09-27 00:14:17 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
R. Ryantm
e63faf8198 cpuinfo: 0-unstable-2024-08-30 -> 0-unstable-2024-09-11 2024-09-19 07:19:35 +00:00
Aleksana
ece67dbfe2
cpu-x: fix gtk support (#335367) 2024-09-04 11:12:17 +08:00
nixpkgs-merge-bot[bot]
999b0e7a38
cpuinfo: 0-unstable-2024-08-07 -> 0-unstable-2024-08-30 (#338671) 2024-08-31 22:48:09 +00:00
Pavel Sobolev
f0566c81fb cppcheck: 2.14.2 -> 2.15.0 2024-08-31 21:31:07 +02:00
R. Ryantm
f60009030c cpuinfo: 0-unstable-2024-08-07 -> 0-unstable-2024-08-30 2024-08-31 18:57:56 +00:00
éclairevoyant
9cd5d1183c
cpu-x: add version test 2024-08-18 14:49:00 -04:00
éclairevoyant
6a23789fda
cpu-x: modernise 2024-08-18 14:49:00 -04:00
éclairevoyant
392c09c842
cpu-x: fix gtk support 2024-08-18 14:49:00 -04:00
éclairevoyant
d4436a5fad
cpu-x: avoid double-wrapping 2024-08-18 14:49:00 -04:00
éclairevoyant
82e87efc98
cpu-x: nixfmt 2024-08-18 14:49:00 -04:00
R. Ryantm
c2777eb9f4 cpuinfo: 0-unstable-2024-07-10 -> 0-unstable-2024-08-07 2024-08-12 01:56:02 +00:00
Peder Bergebakken Sundt
29ab705c17 treewide: finalAttrs.doCheck -> finalAttrs.finalPackage.doCheck
repeat of #271241
discussion: #272978

I did not replace the instance in eiwd, since it causes an infinite recursion.
2024-07-30 18:32:01 +02:00
R. Ryantm
7f30c01c65 cpuinfo: 0-unstable-2024-06-02 -> 0-unstable-2024-07-10 2024-07-12 01:09:55 +00:00
Pawel Chojnacki
5e414b8800 cpuinfo: init at 0-unstable-2024-06-02 2024-07-11 00:18:56 +02:00
Pavel Sobolev
4a48decea2 cppcheck: 2.14.1 -> 2.14.2 2024-06-26 22:05:13 +02:00
Pavel Sobolev
cf7a400d31 cppcheck: reformat 2024-06-26 22:05:13 +02:00
Pavel Sobolev
6b36d73885 cppcheck: move to pkgs/by-name 2024-06-26 22:05:13 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Qyriad
7117b64e44 cppitertools: init at 2.1
Package CPPItertools, a port of Python's `itertools` module and builtin
iteration functions like `enumerate()`, to C++17.
2024-05-24 22:14:14 -06:00
Lorenz Leutgeb
628f13c025 cpu-energy-meter: init at 1.2
Co-authored-by: h7x4 <h7x4@nani.wtf>
2024-05-17 21:21:45 +02:00
Weijia Wang
553e82a848
Merge pull request #307591 from r-ryantm/auto-update/cpu-x
cpu-x: 5.0.3 -> 5.0.4
2024-05-04 16:17:52 +02:00
R. Ryantm
f504fa11f0 cpu-x: 5.0.3 -> 5.0.4 2024-04-29 00:28:56 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Thiago Kenji Okada
1febd49b97 cpuset: remove thiagokokada from maintainers 2024-01-08 16:23:39 +00:00