Commit Graph

18 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
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
Emily
c767064338 vlc: pin FFmpeg 6 for now
There are upstream patches to support FFmpeg 7, but it’s quite a few
patches and the current release seems to have branched off over a year
ago, so let’s just wait for the next upstream release to bump this.
2024-09-21 21:28:41 +01:00
Vladimír Čunát
75da841952
Merge branch 'master' into staging 2024-09-17 16:38:37 +02:00
Gautier DI FOLCO
d404b22161
vlc: add meta.mainProgram 2024-09-16 23:06:15 +02: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
Alyssa Ross
c528719312 vlc: depend on wayland-scanner
Currently wayland-scanner is defined to be wayland.bin, but we want to
split wayland-scanner into a separate package.
2024-08-11 18:59:16 +03:00
techknowlogick
194156322a vlc-bin: 3.0.20 -> 3.0.21 2024-07-25 02:40:12 -04:00
Alois Wohlschlager
38ab61e74b
vlc: add update script 2024-06-16 10:59:08 +02:00
Alois Wohlschlager
ae916af7be
vlc: 3.0.20 -> 3.0.21, add maintainer 2024-06-12 09:53:39 +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
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
Weijia Wang
a8a8401b7b vlc-bittorrent: fix version 2024-04-21 18:56:13 +10:00
kintrix007
82abe746cf vlc-bittorrent: init at 2.15.0 2024-03-25 18:30:03 +01:00
Anderson Torres
a7a3876773 vlc-bin: add pcasaretto to meta.maintainers
As seen in https://github.com/NixOS/nixpkgs/pull/291405#discussion_r1507465727
2024-03-05 22:26:46 -03:00
Anderson Torres
ea99f64cde vlc-bin: init at 3.0.20
Taken from https://github.com/NixOS/nixpkgs/pull/209086

Since I (AndersonTorres) am not a Darwin user, I will not add myself to
maintainers. This package is ready and open for adoptions!

Co-authored-by: willemml <willem@leit.so>
2024-03-05 22:26:46 -03:00
Anderson Torres
c52a056f18 vlc: migrate to by-name 2024-02-26 17:40:16 -03:00