andir / npins

Nix dependency pinning. Very similar to Niv but has a few features that I personally wanted.
European Union Public License 1.2
180 stars 14 forks source link

ux: improve the `show` output #17

Closed gilligan closed 2 years ago

gilligan commented 2 years ago

This PR aims at improving the UX around the npins show command by making the output easier to digest and more condensed:

$ npins show
   nixpkgs: GitHub:nixpkgs/nixos@8f39ad3da14ce78daf249c8291a4e43a17bbcf98 (nixpkgs-unstable)
   pre-commit-hooks.nix: GitHub:pre-commit-hooks.nix/cachix@433808cba23975201a48a3bb8ebc76029191fafd (master)

Relevant changes:

piegamesde commented 2 years ago

Superseded by #23.

I tried to incorporate as many changes from here as possible, if I missed any please let me know or simply open a new pull request.