Commit Graph

1307 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
Doron Behar
65484f88b2
beets: 2.0.0 -> 2.2.0 (#358086) 2024-12-07 19:55:43 +02:00
Weijia Wang
d74fdc89df
video2midi: 0.4.8 -> 0.4.9 (#356869) 2024-12-07 15:19:21 +01:00
Chris Montgomery
395b04b492 beetsPackages.copyartifacts: beets 2.1.0 compat 2024-12-02 14:26:41 +02:00
Doron Behar
33e9c10983 beets-unstable: 2.0.0-unstable-2024-05-25 -> 2.2.0-unstable-2024-12-02 2024-12-02 14:26:31 +02:00
Doron Behar
138a57266b beets: 2.0.0 -> 2.2.0 2024-12-02 14:26:24 +02:00
Doron Behar
70a877ad9f beets: nixfmt & remove dead code 2024-12-01 16:20:40 +02:00
Chris Montgomery
4efaa7aefb beets: alphabetize builtin plugins
Most were already in order but some plugins were thrown in at the bottom of the
file.
2024-12-01 16:19:35 +02:00
Chris Montgomery
538aacc161 beets: mark builtin acousticbrainz plugin as deprecated
This happened in v2.0.0.
2024-12-01 16:19:35 +02:00
Chris Montgomery
a75c56567c beetsPackages.extrafiles: remove broken/unmaintained plugin
As noted in a comment in the package expression, the third-party `extrafiles`
plugin has not been maintained since 2020 and has been broken since the release
of beets version 2.0.0 in May 2024.

Since the `beets-stable` package has been updated to version 2.0.0, it is no
longer feasible to keep `beetsPackages.extrafiles` around.
2024-12-01 16:19:35 +02:00
Chris Montgomery
ee14c24d03 beets: add @montchr as co-maintainer 2024-12-01 16:19:32 +02:00
Weijia Wang
35a18e8666
beets: allow darwin builds (#357903) 2024-11-27 22:57:52 +01:00
Jenny
8b14b51566
openai-whisper-cpp: 1.7.1 -> 1.7.2 (#357700) 2024-11-22 13:49:13 +01:00
Martin Weinelt
6f88eaab1b
beets: allow darwin builds 2024-11-21 14:19:35 +01:00
liberodark
687fa13581 mpdcron: move to by-name 2024-11-21 12:57:30 +01:00
liberodark
fb61e646af loudgain: move to by-name 2024-11-21 12:52:49 +01:00
liberodark
427ffbc994 botamusique: move to by-name 2024-11-21 12:48:07 +01:00
R. Ryantm
d3b4ec2ec0 openai-whisper-cpp: 1.7.1 -> 1.7.2 2024-11-20 22:58:10 +00:00
R. Ryantm
ee355521d0 video2midi: 0.4.8 -> 0.4.9 2024-11-18 04:56:52 +00:00
Martin Weinelt
f90cf46cb6
wyoming-openwakeword: migrate to tensorflow-bin
With Python 3.12 we don't have a working tensorflow source build, which
currently blocks usage of this package.
2024-11-16 21:50:50 +01:00
Kira Bruneau
d492a0ae0f
yabridge: 5.1.0 -> 5.1.1 (#354298) 2024-11-14 16:49:41 -05: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
Kira Bruneau
b79f5f98fc yabridge: 5.1.0 -> 5.1.1 2024-11-07 14:15:27 -05:00
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
Weijia Wang
68e9d15e95
kaldi: 0-unstable-2024-09-16 -> 0-unstable-2024-10-04 (#346862) 2024-11-02 21:25:53 +01:00
Aleksana
b1dcbb96e1
mpris-scrobbler: added mainProgram (#352430) 2024-10-31 17:12:49 +08:00
michaelBelsanti
d219a4877e
mpris-scrobbler: added mainProgram 2024-10-30 14:00:16 -04:00
Johannes Jöns
6531b95ebc
alsaequal: 0.6 -> 0.7.1 (#349355) 2024-10-30 14:31:43 +01:00
piegames
ad8d051645
treewide: Fix indentation in strings (#350296) 2024-10-23 21:44:22 +02:00
Gaetan Lepage
3578804d05 whisper-ctranslate2: 0.4.5 -> 0.4.6
Diff: https://github.com/Softcatala/whisper-ctranslate2/compare/0.4.5...0.4.6

Changelog: https://github.com/Softcatala/whisper-ctranslate2/releases/tag/0.4.6
2024-10-23 09:15:38 +02:00
piegames
68927918d0 treewide: Fix indentation in strings
The indentation stripping semantics of strings are fairly bad and have a
few gotchas where the resulting string has not the intended indentation.
This commit fixes most if not all such instances in Nixpkgs.

I tried to strive a balance between keeping the diff small and
reformatting/refactoring the code to look better. In general,
reformatting should be left to Nixfmt.

Note that this causes a lot of rebuilds by design. All changes need to
be thoroughly vetted and reviewed for correctness. There is no automatic
way to prove correctness.

List of files to fix generated by running
https://gerrit.lix.systems/c/lix/+/2092 on Nixpkgs and looking at the
warnings.
2024-10-22 21:36:42 +02:00
happysalada
d586a185ff wyoming-fastper-whisper: 2.1.0 -> 2.2.0 2024-10-20 14:59:07 -04:00
Artturin
b88b179d26 openai-whisper-cpp: install all binaries built by default
```
whisper-cpp
whisper-cpp-bench
whisper-cpp-command
whisper-cpp-lsp
whisper-cpp-quantize
whisper-cpp-server
whisper-cpp-stream
whisper-cpp-talk-llama
```
2024-10-19 01:26:09 +03:00
Artturin
052ce831da openai-whisper-cpp: 1.7.0 -> 1.7.1
Diff: https://www.github.com/ggerganov/whisper.cpp/compare/refs/tags/v1.7.0...v1.7.1
2024-10-19 00:55:00 +03:00
Artturin
02b61c1506
openai-whisper-cpp: fix cuda build (#347975) 2024-10-19 00:50:05 +03:00
jopejoe1
ad9cfe30fa alsaequal: 0.6 -> 0.7.1 2024-10-17 21:44:58 +02:00
jopejoe1
13bf9925ac alsaequal: switch to live src 2024-10-17 21:37:25 +02:00
Al McElrath
85e42e600d openai-whisper-cpp: fix cuda build 2024-10-11 12:29:05 -07:00
github-actions[bot]
b33aedbb4d
Merge master into staging-next 2024-10-07 12:05:43 +00:00
Thiago Kenji Okada
2977943aeb
treewide: move packages maintained by aaronjheng to by-name (#346765) 2024-10-07 07:38:59 +01:00
Aaron Jheng
b85511ca3c
treewide: move packages maintained by aaronjheng to by-name 2024-10-07 01:15:33 +00:00
github-actions[bot]
7ab01e096c
Merge master into staging-next 2024-10-06 18:03:58 +00:00
R. Ryantm
1e59c44a7b kaldi: 0-unstable-2024-09-16 -> 0-unstable-2024-10-04 2024-10-06 11:32:00 +00:00
R. Ryantm
fb93213e8c openai-whisper-cpp: 1.6.2 -> 1.7.0 2024-10-06 01:26:51 +00:00
K900
b29cb6c1f9 Merge remote-tracking branch 'origin/master' into staging-next 2024-09-30 20:23:25 +03:00
Robert Schütz
543781083a treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07: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
d8a54461fc Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-20 07:27:56 +03:00
h7x4
9a6c76c4af
treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00