Commit Graph

42 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
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
R. Ryantm
0ece694e95 qrtool: 0.11.5 -> 0.11.6 2024-10-30 09:52:23 +00:00
matthewcroughan
cdbeda1d73 qrq: fix sourceRoot 2024-10-06 15:27:18 +01:00
pkharvey
7d3dae0926 qrq: init at 0.3.5
Co-authored-by: Nikolay Korotkiy <sikmir@disroot.org>
2024-09-29 01:16:16 +01:00
R. Ryantm
e69b0ef60e qrtool: 0.11.4 -> 0.11.5 2024-09-23 02:36:10 +00:00
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03: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
Philip Taron
dbfd8f178c
Revert "qrtool: switch to GitLab source"
This reverts commit 24bf96e257, as
@sorairolake has GitHub access again.
2024-09-06 16:59:10 -07:00
Nikolay Korotkiy
dcb3223139
qrcp: migrate to by-name 2024-09-03 22:51:56 +04:00
Lenivaya
c85c9a91f2 fix: wrong maintainer 2024-08-16 01:12:34 +03:00
Lenivaya
d3745a6e5f qrrs: init at 0.1.10 2024-08-16 00:02:09 +03:00
Philip Taron
24bf96e257
qrtool: switch to GitLab source 2024-08-14 10:25:31 -07:00
Philip Taron
18e78c0770
qrtool: nixfmt 2024-08-14 10:23:53 -07:00
Peder Bergebakken Sundt
462b96d2a1
Merge pull request #326243 from jcaesar/pr-13
treewide: skip generating shell completions using $out/bin/… when cross compiling
2024-08-06 08:15:56 +02:00
R. Ryantm
11fb6504ee qrtool: 0.11.3 -> 0.11.4 2024-08-04 18:40:35 +00:00
Julius Michaelis
6a9beaf893 treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:

  postInstall = ''
    installShellCompletion --cmd foo \
      --bash <($out/bin/foo completion bash) \
      …

This commit just guards those with

lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)

splitting the string where unrelated actions are performed.
2024-08-04 10:50:48 +09:00
7c6f434c
9f6d76aa4d
Merge pull request #329417 from r-ryantm/auto-update/qrcode
qrcode: 0-unstable-2024-06-05 -> 0-unstable-2024-07-18
2024-07-24 00:47:32 +00:00
R. Ryantm
c20fa33d8b qrcode: 0-unstable-2024-06-05 -> 0-unstable-2024-07-18 2024-07-23 13:53:14 +00:00
R. Ryantm
738b237e32 qrtool: 0.11.2 -> 0.11.3 2024-07-22 20:45:03 +00:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +02:00
Alexis Hildebrandt
ee7df61b37 qrtool: 0.11.0 -> 0.11.2 2024-07-12 07:25:32 +02:00
R. Ryantm
eb007c7814 qrtool: 0.10.13 -> 0.11.0 2024-07-06 06:11:52 +00:00
R. Ryantm
72cdb9ba97 qrtool: 0.10.10 -> 0.10.13 2024-06-29 02:37:41 +00: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
lucasew
45ae4416ec qrcode: unstable-2023-12-02 -> 0-unstable-2024-06-05
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-06-05 14:34:21 -03:00
lucasew
5ecd26411a qrcode: move to by-name, add update script, add lucasew as maintainer
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-06-05 14:33:08 -03:00
R. Ryantm
a2e6c252ba qrtool: 0.10.9 -> 0.10.10 2024-04-28 00:59:34 +00:00
R. Ryantm
e9608f00dc qrtool: 0.10.8 -> 0.10.9 2024-04-22 20:30:18 +00:00
R. Ryantm
38a4ac5695 qrtool: 0.10.7 -> 0.10.8 2024-04-16 11:10:55 +00:00
R. Ryantm
a6646d4d74 qrtool: 0.10.6 -> 0.10.7 2024-04-09 03:27:42 +00:00
R. Ryantm
a5dbbf9aa6 qrtool: 0.10.5 -> 0.10.6 2024-03-17 15:36:20 +00:00
R. Ryantm
93edfc259f qrtool: 0.10.4 -> 0.10.5 2024-02-19 00:59:41 +00:00
R. Ryantm
82ad38a675 qrtool: 0.10.2 -> 0.10.4 2024-01-22 14:57:21 +00:00
Fabián Heredia Montiel
d00c65029c
Merge pull request #275544 from CobaltCause/update-obs
obs-studio: 29.1.3 -> 30.0.2
2024-01-09 15:23:44 -06:00
R. Ryantm
d4b11ca47c qrtool: 0.10.1 -> 0.10.2 2024-01-07 16:34:00 +00:00
Charles Hall
de88f45da9
qrcodegencpp: init at 1.8.0
Co-authored-by: materus <materus@podkos.pl>
Co-authored-by: Franz Pletz <fpletz@fnordicwalking.de>
2024-01-02 16:30:29 -08:00
R. Ryantm
a4aea63659 qrtool: 0.8.5 -> 0.10.1 2023-12-23 03:14:37 +00:00
Philip Taron
f5100278df
qrtool: use rustPlatform.buildRustPackage rec {
Rather than `let ... in` syntax per feedback from @atalii
2023-11-30 13:51:05 -08:00
Philip Taron
3da9fa3ad3
qrtool: add shell completions and man pages 2023-11-30 09:11:31 -08:00
Philip Taron
6b20d38e01
qrtool: 0.8.4 -> 0.8.5
I added `asciidoctor` to the nativeBuildInputs as I saw warnings that it
wasn't found as I built the tool.

I also stopped using `rec` syntax as the nixpkgs manual recommends
[against it](https://nixos.org/manual/nixpkgs/unstable/#mkderivation-recursive-attributes).

However, `rustPlatform.buildRustPackage` doesn't allow the use of
`mkDerivation (finalAttrs: {` form, so it's just a simple `let` binding
here.
2023-11-30 08:13:04 -08:00
Philip Taron
9a863b8044
qrtool: init at 0.8.4 2023-11-08 09:05:22 -08:00