Tracking: Migrate SDL libs to their real names, no capitals, no underscores
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- tooling
Research direction
Start by locating the package definitions for the listed SDL libraries and inspect top-level/all-packages and top-level/aliases.nix. Migrate the names to lowercase, hyphenated forms, and move the SDL and SDL2 aliases to top-level/aliases.nix; completion is the checklist being fully addressed.
Written by the indexing model from the issue text.
Description
While doing some dev with SDL libs, I found it pretty annoying that the discoverability was pretty low.
- Not all of the libraries have their real names (sdl12-compat is named SDL_compat for some reason?)
- Many of them use capitals for
SDL, which is not good practice in nixpkgs - Many of them use underscores, which is also not good practice in nixpkgs
So it would be nice to migrate them to new names that fix those issues.
Also remove the aliases that are in top-level/all-packages and move them to the aliases file (SDL and SDL2)
Tracking
- SDL_compat #522006
- SDL2
- SDL_gfx
- SDL_net
- SDL_ttf
- SDL2_gfx
- SDL2_net
- SDL2_ttf
- SDL_image
- SDL_mixer
- SDL_sixel
- SDL_sound
- SDL2_Pango
- SDL2_image
- SDL2_mixer
- SDL2_sound
- SDL_stretch
- SDL_audiolib
- SDL alias to
top-level/aliases.nix - SDL2 alias to
top-level/aliases.nix
- Dominant language
- Nix
- Stars
- 26.2k
- Forks
- 20.1k
- Avg merge
- 9h 57m
- Merged PRs (30d)
- 517
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NixOS/nixpkgs
-
0.kind: build failure
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
0.kind: bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
0.kind: bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
0.kind: enhancement 9.needs: package (update)
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
0.kind: enhancement 9.needs: documentation
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
bancolombia/sentinel#20 ·
-
optimization optimization:agents-md-curator
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
githubnext/gh-aw-cao#13143 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
alunduil/woodland-generators#669 ·
-
area: tooling
Difficulty 2/5 1-3 hours Newbie friendliness 86/100