nprt

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2026 License: MIT

README

nprt Logo

nprt

nprt (Nixpkgs PR Tracker) is a CLI tool to track which nixpkgs channels contain a given pull request.

Features

  • Check if a PR has been merged into various nixpkgs channels
  • Support for PR numbers or full GitHub URLs
  • Colored terminal output with Nerd Font icons
  • Clickable hyperlinks to PRs (in supported terminals)
  • JSON output for scripting
  • Parallel channel checking for fast results

Installation

Using the Nix Flake

This repository includes a flake for installation:

# Run directly
nix run github:thatsneat-dev/nprt

# Install to profile
nix profile install github:thatsneat-dev/nprt

# Or add to your flake inputs
{
  inputs.nprt.url = "github:thatsneat-dev/nprt";
}

Using Go

Requires Go 1.25 or later:

go install github.com/thatsneat-dev/nprt/cmd/nprt@latest

Usage

See the full usage documentation for options, examples, and exit codes.

# Check by PR number
nprt 475593

# Check by PR URL
nprt https://github.com/NixOS/nixpkgs/pull/475593

# JSON output for scripting
nprt --json 475593

Directories

Path Synopsis
cmd
nprt command
internal
cli
Package cli provides command-line argument parsing utilities.
Package cli provides command-line argument parsing utilities.
config
Package config handles configuration parsing and environment settings for the nixpkgs PR tracker.
Package config handles configuration parsing and environment settings for the nixpkgs PR tracker.
core
Package core provides the business logic for checking PR propagation across nixpkgs release channels.
Package core provides the business logic for checking PR propagation across nixpkgs release channels.
github
Package github provides a client for interacting with the GitHub API to fetch pull request and commit information from NixOS/nixpkgs.
Package github provides a client for interacting with the GitHub API to fetch pull request and commit information from NixOS/nixpkgs.
logging
Package logging provides a configured zap logger for the CLI.
Package logging provides a configured zap logger for the CLI.
render
Package render handles formatting and output of PR status, issue warnings, and related PR lists in table and JSON formats with optional ANSI colors.
Package render handles formatting and output of PR status, issue warnings, and related PR lists in table and JSON formats with optional ANSI colors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL