1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00
Commit graph

311 commits

Author SHA1 Message Date
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
Reno Dakota 0046e13989
cdrkit: darwin link with CF 2024-10-28 16:31:33 +00:00
github-actions[bot] c3c8b24e1c
Merge master into staging-next 2024-10-01 18:04:42 +00:00
Fabián Heredia Montiel 504c448b51 brasero: rename brasero-original to brasero-unwrapped 2024-09-30 14:30:56 -06:00
Fabián Heredia Montiel 76aeca8297 cdrtools: remove -fpermissive due to revert of gcc_14 as default
This fails to build with gcc_13 as default, opting to remove the flag
for the time being instead of conditioning to the gcc version

Not showing up on hydra at the moment
2024-09-28 10:33:27 -06:00
Artturin f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03: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
K900 b24e9a53ca Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 09:07:34 +03:00
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
Fabián Heredia Montiel 438ed81a34 treewide: add -fpermissive due to configuration error with gcc_14 2024-09-11 01:44:17 -06:00
Fabián Heredia Montiel a4145a81d1 treewide: add -Wno-error= due to compilation error with gcc_14 2024-09-11 01:44:17 -06:00
Steven Keuchel 2e41a59bbb
cdrtools: fix riscv64-linux build
Also apply the fixes for aarch64-darwin unconditionall.
2024-08-31 16:23:37 +02:00
Wolfgang Walther e3244e9ff0
treewide: replace xxxFlagsArray with non-Array variant in nix code
The xxxFlagsArray variants were never meant to be used in nix code, at
least they can't be used properly without __structuredAttrs turned on.

If no spaces are passed in the argument the xxxFlagsArray can be
replaced as-is with the non-Array variant. When whitespace needs to be
passed, the derivation is additionally changed to enable
__structuredAttrs.
2024-08-19 23:28:13 +02:00
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Sigmanificient 543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00
Anderson Torres 539575ab2b treewide: remove yana from meta.maintainers [orphans] 2024-07-22 16:22:39 -03:00
Pyrox 20ea266306
cdimgtools: sha256 -> hash
`sha256 = "...";` is deprecated in favor of SRI hashes, so this replaces
that hash.
2024-07-11 22:44:24 -04:00
NotAShelf 4f45500114
cue2pops: unstable-2018-01-04 -> 0-unstable-2023-01-15 2024-07-08 23:26:45 +03:00
NotAShelf d90e08b1e1
cue2pops: modernize derivation; add missing license 2024-07-08 23:26:37 +03:00
R. Ryantm c7f558820c isomd5sum: 1.2.4 -> 1.2.5 2024-06-26 01:09:29 +00:00
Stanisław Pitucha 42f9761484 ccd2iso: fix darwin build
Add an explicit include to fix the build on newer compilers.
2024-06-16 09:04:13 +10: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
github-actions[bot] ae736c738d
Merge master into staging-next 2024-05-03 12:01:32 +00:00
Jussi Kuokkanen ce3f586775 pkgs/tools: remove licenses.gpl2 2024-05-02 21:06:26 +02:00
Vladimír Čunát 725f48a252
Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
Bobby Rong 736c6be462
treewide: Move away from wiki.gnome.org
The wiki.gnome.org site is planned for retirement.
2024-05-01 21:16:03 +08: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
Francesco Gazzetta 6ffb3618ea
Merge pull request #289980 from fgaz/treewide/fgaz-finalAttrs
treewide: use finalAttrs in packages maintained by @fgaz
2024-03-05 11:05:28 +01:00
Francesco Gazzetta 262c623557 dvd-vr: use finalAttrs pattern 2024-03-05 09:50:18 +01:00
R. Ryantm 6ab28e7f85 isomd5sum: 1.2.3 -> 1.2.4 2024-02-16 18:24:29 +00:00
Anderson Torres b33805a0ec ventoy: migrate to by-name 2024-01-24 09:14:14 -03:00
GetPsyched f98ec4f73c treewide: update meta.description to fit the guidelines 2024-01-09 17:12:31 +01:00
Weijia Wang 3f718ad247 mkcue: fix build with gcc 11+ 2023-12-12 02:10:57 +01:00
h7x4 b8054ecd8a treewide: add mainProgram 2023-11-23 21:04:16 +01:00
Weijia Wang a38b57a3ad cdrkit: fix build with clang 16 2023-11-10 09:39:32 +01:00
Vladimír Čunát d811555465
Merge branch 'staging' into staging-next 2023-10-26 10:36:50 +02:00
R. Ryantm 973cca0ffb ventoy-full: 1.0.95 -> 1.0.96 2023-10-23 12:07:26 -03:00
Peder Bergebakken Sundt f598916682 sacd: make patch urls reproducible 2023-10-17 20:19:00 +02:00
Doron Behar 8ace65ff3d
treewide: use finalAttrs in all packages I maintain (#255902)
* mpd-touch-screen-gui: use finalAttrs in mkDerivation; reformat

* musescore: use finalAttrs in mkDerivation

* syncthingtray: use stdenv.mkDerivation with a function; reformat

* ocrfeeder: use finalAttrs in mkDerivation; reformat

* castget: use finalAttrs in mkDerivation

* gnome-network-displays: use finalAttrs in mkDerivation

* mailreaders: use finalAttrs in mkDerivation

* mswatch: use finalAttrs in mkDerivation

* uhd: use finalAttrs in mkDerivation

* maxima: use finalAttrs in mkDerivation

* qalculate-gtk: use finalAttrs in mkDerivation

* qalculate-qt: use finalAttrs in mkDerivation

* wxmaxima: use finalAttrs in mkDerivation

* lammps: use finalAttrs in mkDerivation

* mlterm: use finalAttrs in mkDerivation

* video-trimmer: use finalAttrs in mkDerivation

* nerdfonts: use finalAttrs in mkDerivation

* gnomeExtensions.easyScreenCast: use finalAttrs in mkDerivation

* octave: use finalAttrs in mkDerivation; reformat

* comedilib: use finalAttrs in mkDerivation

* cpp-utilities: use finalAttrs in mkDerivation

* libsForQt5.kpeoplevcard: use finalAttrs in mkDerivation; reformat

* liberio: use finalAttrs in mkDerivation

* libqalculate: use finalAttrs in mkDerivation; reformat

* libwtk-sdl2: use finalAttrs in mkDerivation

* libsForQt5.pulseaudio-qt: use finalAttrs in mkDerivation; reformat

* qrupdate: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtforkawesome: use finalAttrs in mkDerivation; reformat

* libsForQt5.qtutilities: use finalAttrs in mkDerivation; reformat

* sqlitecpp: use finalAttrs in mkDerivation; reformat

* tweeny: use finalAttrs in mkDerivation

* volk: use finalAttrs in mkDerivation

* wiringpi: use finalAttrs in mkDerivation

* snzip: use finalAttrs in mkDerivation; reformat

* bpm-tools: use finalAttrs in mkDerivation; reformat

* sacd: use finalAttrs in mkDerivation

* gtk-gnutella: use finalAttrs in mkDerivation; reformat

* sile: use finalAttrs in mkDerivation

* pplatex: use finalAttrs in mkDerivation; reformat
2023-09-21 11:31:17 +03:00
Anderson Torres 6e8e316fde xorriso: migrate to by-name 2023-09-20 22:51:30 -03:00
Anderson Torres 37a01b3e4f ecmtools: migrate to by-name 2023-09-15 14:12:15 +00:00
github-actions[bot] 204bfce523
Merge staging-next into staging 2023-09-07 00:02:49 +00:00
R. Ryantm 7d50a61070 ventoy: 1.0.94 -> 1.0.95 2023-09-06 18:38:34 +00:00
Yureka a6cc0a7530 cdrtools: disable fortify hardening on musl 2023-09-06 10:42:05 +02:00
Weijia Wang 7774391040
Merge pull request #247063 from emilazy/cdrdao-fixes
{cdrdao,whipper}: support Darwin and add patch
2023-08-04 12:12:59 +02:00
Travis A. Everett 3ea80c9c2c srt-to-vtt-cl: fix macOS builds
The upstream Makefile is using logic to build into different dirs
depending on uname output. Trivial to get macOS builds working if
we just don't do that.

I've also stripped out a use of substituteAll that was having no
effect (the variables it replaced were removed during review of
the initial PR.)
2023-08-03 22:39:24 -05:00
Emily 8d08ce1f93 cdrdao: add patch to fix uninitialized variable 2023-08-02 04:05:21 +01:00
Emily 58dff2378f {cdrdao,whipper}: support Darwin 2023-08-02 04:05:03 +01:00
Emily 13e2cb64cf cdrdao: use finalAttrs 2023-08-02 04:03:53 +01:00
figsoda d80e764433 ventoy: remove dead code 2023-07-25 10:28:26 -04:00