Commit Graph

53 Commits

Author SHA1 Message Date
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
efe99b598c ytdl-sub: 2024.11.6 -> 2024.12.4 2024-12-07 14:32:15 +00:00
DontEatOreo
07cb36c3f9
yt-dlp: 2024.12.3 -> 2024.12.6
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.12.06
Diff: https://github.com/yt-dlp/yt-dlp/compare/2024.12.03...2024.12.06
2024-12-06 18:33:16 +02:00
Aleksana
9894aea69b
ytdl-sub: relax yt-dlp dependency (#361694) 2024-12-05 21:32:26 +08:00
34j
d637b85e25
treewide: replace --enable-wayland-ime with --enable-wayland-ime=true for the arguments to properly work (#361341) 2024-12-05 00:06:22 +05:30
Arne Keller
e181443fa0
ytdl-sub: relax yt-dlp dependency 2024-12-04 09:21:22 +01:00
DontEatOreo
96a1839b9b
yt-dlp: 2024.11.18 -> 2024.12.3
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.12.03
Diff: https://github.com/yt-dlp/yt-dlp/compare/2024.11.18...2024.12.03
2024-12-03 23:02:06 +02:00
nixpkgs-merge-bot[bot]
32c14266ff
ytdownloader: 3.18.3 -> 3.18.4 (#360118) 2024-11-30 08:58:54 +00:00
R. Ryantm
b62f26270d ytdownloader: 3.18.3 -> 3.18.4 2024-11-29 12:28:58 +00:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09:00
Sandro Jäckel
2162745225
yt-dlp: 2024.11.4 -> 2024.11.18
Changelog: https://github.com/yt-dlp/yt-dlp/blob/HEAD/Changelog.md
2024-11-18 13:33:09 +01: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
Martin Weinelt
9e96929a3e
ytdl-sub: 2024.10.27.post5 -> 2024.11.6
https://github.com/jmbannon/ytdl-sub/releases/tag/2024.11.6
2024-11-07 19:05:08 +01:00
Martin Weinelt
4acbaa55d2
yt-dlp: expose optional-dependencies
This is required so that other packages, that want to consume them can
resolve them.
2024-11-07 19:05:06 +01:00
Sandro
138df4b17f
yt-dlp: 2024.10.22 -> 2024.11.4 (#353623) 2024-11-05 01:19:15 +01:00
Sandro Jäckel
9aeabf401a
yt-dlp: 2024.10.22 -> 2024.11.4, use constant changlog URL
Due to slightly different version formatting we cannot easily link it.

Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.11.04
2024-11-04 17:56:14 +01:00
Noa Aarts
81090db682
ytermusic: fix build by updating dependencies 2024-11-03 15:08:40 +01:00
Noa Aarts
c497d93d55
ytermusic: format using nixfmt 2024-11-03 14:28:21 +01:00
R. Ryantm
a40428dcd7 ytdl-sub: 2024.10.26 -> 2024.10.27.post5 2024-10-28 02:38:43 +00:00
cjshearer
fbd58d880e ytmdesktop: 2.0.5 -> 2.0.6 2024-10-27 10:13:54 -04:00
LoC
438a62e1be
ytdl-sub: init at 2024.10.26 2024-10-27 11:27:57 +01:00
DontEatOreo
a76ccc4820
yt-dlp: 2024.10.7 -> 2024.10.22
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.10.22
Diff: https://github.com/yt-dlp/yt-dlp/compare/2024.10.07...2024.10.22
2024-10-22 12:56:49 +03:00
R. Ryantm
0c5277bc9f ytdownloader: 3.18.2 -> 3.18.3 2024-10-11 08:51:36 +00:00
DontEatOreo
0dc2fe70d0
yt-dlp: 2024.9.27 -> 2024.10.7
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.10.07
Diff: https://github.com/yt-dlp/yt-dlp/compare/2024.09.27...2024.10.07
2024-10-08 11:10:09 +03:00
ocfox
4be06021f3
yt-dlp: 2024.8.6 -> 2024.9.27
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-09-28 17:05:42 +08: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
Peder Bergebakken Sundt
8c8c27bb19 treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
Zitrone
6c7f4e924e
yt-dlg: fix build 2024-09-02 23:35:08 +02:00
John Garcia
19db13ea48 ytdownloader: 3.18.0 -> 3.18.2 2024-08-28 12:08:44 +01:00
Ingo Reitz
237e7781f5
ytmdesktop: StartupWMClass, desktopName Capitalisation 2024-08-10 19:16:03 +02:00
Sandro Jäckel
5bbf83eec1
yt-dlp: 2024.8.1 -> 2024.8.6
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.8.6
2024-08-06 11:18:34 +02:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Sandro Jäckel
4da61526d9
yt-dlp: 2024.7.25 -> 2024.8.1
Changelog: https://github.com/yt-dlp/yt-dlp/releases/tag/2024.8.1
2024-08-01 19:51:22 +02:00
éclairevoyant
9f13d0bce2
yt-dlp: add curl impersonation support 2024-07-26 09:32:23 -04:00
éclairevoyant
0f0687f6b3
yt-dlp: move to by-name 2024-07-26 09:32:23 -04:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Ingo Reitz
6e3d2497a2
ytmdesktop: fix desktop file, removed unused stuff 2024-07-11 13:00:47 +02:00
Sandro
1947f978df
Merge pull request #317309 from cjshearer/ytmdesktop_init_at_2.0.5 2024-07-10 16:23:33 +02:00
h7x4
e51e07e4be
yt-dlg: install desktop item 2024-06-12 23:22:04 +02:00
cjshearer
7d429676ef ytmdesktop: init at 2.0.5 2024-06-11 08:25:30 -04: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
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
John Garcia
bfe23d4fad ytdownloader: refactor code with copyDesktopItems & nixfmt 2024-06-03 09:20:11 +01:00
John Garcia
ed75226cdf ytdownloader: disable updates 2024-06-03 09:18:01 +01:00
John Garcia
c9cc328009 ytdownloader: 3.17.4 -> 3.18.0 2024-06-02 22:40:46 +01:00
Aleksana
56e2cd78e1
Merge pull request #306630 from codebam/ytermusic
ytermusic: init at 0.1.0
2024-05-08 19:59:31 +08:00
Sean Behan
64cfcd5f22
ytermusic: init at 0.1.0 2024-05-07 22:59:30 -04:00
John Garcia
8a3f9b1aa8 ytdownloader: 3.17.3 -> 3.17.4 2024-04-21 11:47:06 +01:00
Quantenzitrone
17b4bbf63d
yt-dlg: init at 1.8.5 2024-03-17 08:11:10 +01:00
John Garcia
f48a35b070 ytdownloader: add patch to set correct config dir 2024-03-09 15:06:15 +00:00