What should I name a dev package version?

I made a PR for v7 of fetchmail, which hasn’t been officially released yet and internally they’re calling the branch next.
I pinned the commit and named the new version fetchmail-next, see fetchmail: add v7 and fix fetchmailconf by wmertens · Pull Request #195861 · NixOS/nixpkgs · GitHub

Is that ok or should it be something else?

The convention for untagged revisions is unstable-YYYY-MM-DD: nixpkgs/coding-conventions.chapter.md at e569855125fa58194f26577b4e3761e88216eab3 · NixOS/nixpkgs · GitHub

I’d call the package pkgs.fetchmail_7 and set the version to unstable-2022-05-26.
As a user and packager, I’d also appreciate a note in the description that this package is a preview version built off the next branch.

1 Like