Adam C. Stephens
e8595bd325
autosuspend: add adamcstephens to maintainers
2026-07-02 09:44:32 -04:00
Adam C. Stephens
9e2ac93267
autosuspend: 10.1.0 -> 11.3.0
...
Changelog: https://github.com/languitar/autosuspend/releases/tag/v11.3.0
2026-07-02 09:44:32 -04:00
Sandro Jäckel
ccf8acd1b5
python314Packages.python-mpd2: rename from mpd2
2026-06-29 17:39:24 +02:00
Adam C. Stephens
918e731da6
autosuspend: 10.0.0 -> 10.1.0
...
Changelog: https://github.com/languitar/autosuspend/releases/tag/v10.1.0
2026-02-18 11:54:23 -05:00
Anthony Roussel
33befa88a1
nixosTests.autosuspend: init
2026-02-16 00:09:58 +01:00
Anthony Roussel
3b636d180f
autosuspend: generate doc and man
2026-02-15 23:56:15 +01:00
Anthony Roussel
6bf4d7361b
autosuspend: 9.0.1 -> 10.0.0
...
Notable upstream changes:
* The presuspend SystemD unit has been removed
Diff: https://github.com/languitar/autosuspend/compare/v9.0.1...v10.0.0
Changelog: https://github.com/languitar/autosuspend/releases/tag/v10.0.0
2026-02-15 23:40:07 +01:00
Martin Weinelt
8ea6bde88d
treewide: prune pythonOlder 3.10/3.11
...
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00
quantenzitrone
18dc8a95fb
various: switch buildPythonApplication packages to use finalAttrs
...
this shouldn't create any rebuilds
the following script was used to generate this:
```fish
#!/usr/bin/env fish
# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}
set base (git rev-parse HEAD)
set scope pkgs/by-name
set builder buildPythonApplication
set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)
for file in $files
echo $file
sd -F "$builder rec {" "$builder (finalAttrs: {" $file
# version
sd -F 'version}' 'finalAttrs.version}' $file
sd -F '${version' '${finalAttrs.version' $file
sd -F '= version' '= finalAttrs.version' $file
sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
sd -F ' + version;' ' + finalAttrs.version;' $file
sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
# src
sd -F 'src}' 'finalAttrs.src}' $file
sd -F '${src' '${finalAttrs.src' $file
sd -F '= src' '= finalAttrs.src' $file
sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
# meta
sd -F '${meta' '${finalAttrs.meta' $file
sd -F '= meta' '= finalAttrs.meta' $file
sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
# pname (restored afterwards)
sd -F 'pname}' 'finalAttrs.pname}' $file
sd -F '${pname' '${finalAttrs.pname' $file
sd -F '= pname' '= finalAttrs.pname' $file
# combinations
sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
# other
sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
sd -F 'makePythonPath dependencies' 'makePythonPath finalAttrs.dependencies' $file
sd -F 'makePythonPath propagatedBuildInputs' 'makePythonPath finalAttrs.propagatedBuildInputs' $file
sd -F 'libPath}' 'finalAttrs.libPath}' $file
sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
sd -F 'runtimeDeps}' 'finalAttrs.runtimeDeps}' $file
sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
# close finalAttrs lambda
echo ')' >>$file
# catch some errors early
if ! nixfmt $file
git restore $file
continue
end
if ! nixf-diagnose -i sema-primop-overridden $file
git restore $file
continue
end
end
set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore
for file in $files
# file hasn't changed
if git diff --quiet $base $file
continue
end
# try to eval the package to definitely catch all errors
echo $file
set pname (string split / $file -f 4)
if ! nix eval .#$pname
set torestore $torestore $file
end
end
# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
git restore $torestore
end
```
after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 10:06:06 +01:00
R. Ryantm
9b73d051d4
autosuspend: 9.0.0 -> 9.0.1
2026-01-21 21:02:52 +00:00
R. Ryantm
444831ea24
autosuspend: 8.0.0 -> 9.0.0
2025-08-18 21:52:27 +02:00
R. Ryantm
55d806ceed
autosuspend: 7.2.0 -> 8.0.0
...
Diff: https://github.com/languitar/autosuspend/compare/v7.2.0...v8.0.0
Release: https://github.com/languitar/autosuspend/releases/tag/v8.0.0
2025-08-02 12:07:48 +02:00
Peder Bergebakken Sundt
c4f02ff31e
treewide: substitute pname for strings
2025-05-29 17:04:28 +02:00
R. Ryantm
673d9ceeaf
autosuspend: 7.1.0 -> 7.2.0
2025-03-08 18:17:54 +00:00
R. Ryantm
98533256db
autosuspend: 7.0.3 -> 7.1.0
2025-01-14 23:05:15 +00:00
Peder Bergebakken Sundt
0cd04d3036
treewide: migrate fetchgit rev = "refs/tags/..." to tag
2025-01-04 00:19:17 +01:00
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
c6f7529b1e
autosuspend: 7.0.2 -> 7.0.3
2024-12-02 03:44:18 +00:00
Robert Schütz
b23d5f6129
autosuspend: 7.0.1 -> 7.0.2
...
Diff: https://github.com/languitar/autosuspend/compare/refs/tags/v7.0.1...v7.0.2
Changelog: https://github.com/languitar/autosuspend/releases/tag/v7.0.2
2024-10-13 18:46:39 -07:00
R. Ryantm
bcb2ba85b2
autosuspend: 7.0.0 -> 7.0.1
2024-09-22 19:14:44 +00:00
Sandro Jäckel
ca355f14c8
treewide: replace all pytest-cov patching outside of pythonPackages with pytest-cov-stub
2024-08-27 20:47:13 +02: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
Sigmanificient
8b473d1a27
treewide: remove unused fetch* (and other) arguments
2024-05-30 13:36:48 +02:00
Weijia Wang
3b7eb42bff
autosuspend: drop support for older versions of python
...
Co-authored-by: Anthony Roussel <anthony@roussel.dev >
2024-05-05 17:39:54 +02:00
R. Ryantm
ce4252be50
autosuspend: 6.1.1 -> 7.0.0
2024-04-29 17:35:19 +00:00
Anthony Roussel
19d0baefa9
autosuspend: move to pkgs/by-name
2024-03-24 22:01:10 +01:00