Commit Graph

20 Commits

Author SHA1 Message Date
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