Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uncenter/nixpkgs-using
Find packages that you use that are currently being updated in Nixpkgs.
https://github.com/uncenter/nixpkgs-using
cli nixpkgs rust
Last synced: 3 months ago
JSON representation
Find packages that you use that are currently being updated in Nixpkgs.
- Host: GitHub
- URL: https://github.com/uncenter/nixpkgs-using
- Owner: uncenter
- License: mit
- Created: 2024-05-09T20:29:20.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-20T22:14:23.000Z (3 months ago)
- Last Synced: 2024-09-28T09:03:45.913Z (3 months ago)
- Topics: cli, nixpkgs, rust
- Language: Rust
- Homepage:
- Size: 219 KB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nixpkgs-using
Find packages that you use that are currently being updated in Nixpkgs.
```
┌────────────────────────────────────────────────────────────┬──────────────────────────────────────────────┬───────┐
│ Title │ URL │ New │
├────────────────────────────────────────────────────────────┼──────────────────────────────────────────────┼───────┤
│ ruff: only generate completions if program can be executed │ https://github.com/NixOS/nixpkgs/pull/317572 │ false │
├────────────────────────────────────────────────────────────┼──────────────────────────────────────────────┼───────┤
│ yazi: clean up wrapper, add options and format │ https://github.com/NixOS/nixpkgs/pull/321076 │ false │
├────────────────────────────────────────────────────────────┼──────────────────────────────────────────────┼───────┤
│ spicetify-cli: 2.36.11 -> 2.36.13 │ https://github.com/NixOS/nixpkgs/pull/321738 │ false │
├────────────────────────────────────────────────────────────┴──────────────────────────────────────────────┴───────┤
│ 3 pull requests found. │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
```## Installation
### Nix
```
nix run github:uncenter/nixpkgs-using
```### Cargo
```sh
cargo install --git https://github.com/uncenter/nixpkgs-using.git
```## Usage
```
nixpkgs-using [OPTIONS]
```Requires a GitHub API token to use (provided through the `--token` flag or from the `GITHUB_TOKEN`/`GH_TOKEN` environment variables). With roughly 6,000 open PRs on [NixOS/nixpkgs](https://github.com/NixOS/nixpkgs), ~60 API requests are made per run. GitHub's documentation on GraphQL ratelimiting isn't very clear so I can't say for certain how many runs it will take for the rate limit to be reached, but for good measure don't run it more then 5-ish times an hour.
### `--flake`
Path to the flake to evaluate. Defaults to the `FLAKE` environment variable, if present.
### `--configuration`
Configuration to extract packages from (e.g. `darwinConfigurations.Katara`). Defaults to `*configurations.`, where the `*configurations*` is detected from your operating system and the presence of `/etc/NIXOS`.
### `--username`
Username to locate [Home Manager](https://github.com/nix-community/home-manager) packages from.
### `--repository`
The (GitHub) repository from which pull requests are fetched. Defaults to [`NixOS/nixpkgs`](https://github.com/NixOS/nixpkgs).
### `--output`
Output format for the results of the search. One of `json` or `table`. Defaults to `table`.
### `--only-updates`
Exclude pull requests that are not updating a package (filters for pull requests that include a `->` in the title, as is the preferred commit/pull request title style in [NixOS/nixpkgs](https://github.com/NixOS/nixpkgs)).
### `--only-new`
Exclude pull requests that have already been shown by the tool (filters for pull requests created after the timestamp of the last `nixpkgs-using` invocation).
## License
[MIT](LICENSE)