Commit Graph

31 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
seth
8e6d6fdcb8
mpris-timer: restrict platforms to linux 2024-12-07 22:36:27 -05:00
seth
71fb526a35
mpris-timer: install binary under correct name 2024-12-07 22:34:34 -05:00
seth
9bec61285e mpris-timer: 1.1.1 -> 1.5
Diff: https://github.com/efogdev/mpris-timer/compare/1.1.1...1.5
2024-12-08 03:03:11 +00:00
seth
dbdc1cee5b
mpris-timer: add updateScript 2024-12-07 22:01:09 -05:00
Aleksana
d657cbc539
mpris-timer: init at 1.1.1 (#357092) 2024-11-24 22:46:53 +08:00
Felix Buehler
6a9900c19f mpris-timer: init at 1.0.2 2024-11-22 20:12:43 +01:00
liberodark
687fa13581 mpdcron: move to by-name 2024-11-21 12:57:30 +01:00
Matteo Pacini
2d343302d5 mpc: darwin build fix 2024-11-14 18:29:14 +00:00
github-actions[bot]
d6721ede31
Merge master into staging-next 2024-11-13 12:05:52 +00:00
Mateusz Kubica
fcb0131cc8 mpb: init at 1.11.1 2024-11-12 11:03:30 +00:00
Emily
ce788776a5 Merge master into staging-next 2024-11-09 12:51:01 +00: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
Anderson Torres
ca1ecc03a2 mpc: 0.34 -> 0.35 2024-11-01 20:07:03 -03:00
Anderson Torres
36ecd8606f mpc: refactor
- finalAttrs
2024-11-01 20:07:03 -03:00
Anderson Torres
791efe72af mpc: migrate to by-name
And green-alias mpc-cli.
2024-11-01 20:07:03 -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
R. Ryantm
d02e336f95 mpris-notifier: 0.1.9 -> 0.1.10 2024-09-22 07:43:00 +00:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
R. Ryantm
c751311f10 mpris-notifier: 0.1.7 -> 0.1.9 2024-09-10 01:17:16 +00:00
Anderson Torres
96981e3429 mpvc: remove neeasade as maintainer
No activity since 2023-07-20.
2024-07-22 21:29:00 -03:00
Anderson Torres
3ce1e066be mpvc: 1.3 -> 1.4-unstable-2024-07-09
- Using a new repo because it has more updates;
- Using master tip instead of tagged release because, well, 1.5 does not exist
and the latest versions are `1.5-<some audio-related word>`.
- Adding myself as maintainer
2024-07-22 21:29:00 -03:00
Anderson Torres
a5875f7a7b mpvc: rework
- align input set
- finalAttrs
- strictDeps
- remove nested with
2024-07-22 21:29:00 -03:00
Anderson Torres
00c522b86b mpvc: migrate to by-name 2024-07-22 21:29:00 -03:00
sdaqo
89f3f084d0
mpv-subs-popout: init at 0.5.2 2024-07-22 21:19:10 +02:00
Tomo
c2e1c242f4 mpack: add passthru.tests.version 2024-05-20 16:08:35 -07:00
Tomo
84b113b900 mpack: adopt 2024-05-20 16:08:35 -07:00
Tomo
86a7622c74 mpack: format with nixfmt-rfc-style 2024-05-20 16:08:35 -07:00
Tomo
0b43348b06 mpack: move to pkgs/by-name/mp 2024-05-20 16:08:34 -07:00
LeixB
89f6f01a7e
mpris-notifier: init at 0.1.7 2024-04-09 00:07:47 +02:00
Markus Kowalewski
514518e74b mpifileutils: 0.11.1 2023-11-10 10:39:55 +01:00