+7
-7
pkgs/by-name/yu/yubikey-touch-detector/package.nix
·········
yubikey-touch-detector: clean up source and meta attributes
- Use `tag = version;` instead of `rev = version;` in `fetchFromGitHub`
for clarity and correctness.
- Inline pname in install paths (`share/doc/yubikey-touch-detector`,
`share/licenses/yubikey-touch-detector`) instead of string interpolation.
- Drop `with lib;` in `meta`, qualify attributes explicitly:
- `maintainers = with lib.maintainers; [...]`
- `license = lib.licenses.isc;`
- `platforms = lib.platforms.linux;`
Improves scope hygiene, reproducibility, and consistency with
current Nixpkgs conventions.
·········