Last active
April 28, 2024 13:25
-
-
Save Sigmanificient/bc8268250bd83e6cff2124c8f9e053fc to your computer and use it in GitHub Desktop.
Retrieve a json listing main information about packages that have no maintainers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env nix-shell | |
#!nix-shell -i bash -p curl jq brotli | |
url="https://channels.nixos.org/nixpkgs-unstable/packages.json.br" | |
curl -L "$url" \ | |
| brotli -d --stdout \ | |
| jq '.packages[] | select(.meta.maintainers == []) | { | |
"pname": .pname, | |
"system": .system, | |
"version": .version, | |
"description": .meta.description, | |
}' > no_maintainer.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment