/v2/search
. If you only need the latest version of a package, use
/v2/resolve
.
Request
Query Parameters
Query Parameters
- name stringrequired The name of the package you want to look up. Must be a valid Nixpkgs package name.
Responses
- 200
- 400
- 404
- application/json
- Schema
- Example (from schema)
Response Schema
Response Schema
- namestring The name of the package in Nixhub/Devbox summarystring A short description of the package homepage_urlstring The URL to the package’s project homepage licensestring The software license of the package A list of Releases for the package. Array [
- versionstring The version string of the release. This string, combined with a package name, points to a specific version of a package last_updatedstring The last time this release was updated in Nixpkg. A list of platforms this release is available on. Array [
-
archstring
The chip architecture of the platform. This will be one of
arm64
orx86-64
. osstring The operating system of the platform. This will be one ofmacOS
orLinux
. systemsstring The full Nix compatible name of the system. This will be one ofaarch64-darwin
,aarch64-linux
,x86_64-darwin
, orx86_64-linux
. attribute_pathstring The attribute path to the package in the Nixpkgs. This can be used to install the package with Nix or Devbox. commit_hashstring The hash of the Nixpkgs commit that this package was last updated in. datestring The date this package was last updated in Nixpkgs. A list of Outputs (e.g.,out
,lib
,dev
) that are available for the package on this platform. Array [ -
namestring
The name of the output (e.g.,
out
,lib
,dev
) pathstring The unique path to the output in the Nix store. defaultboolean Whether this output is the default output for the package narstring The path to the packages NAR (Nix Archive) file. This file contains the package’s build artifacts. ] - ]
-
platforms_summarystring
A summary string that represents the platforms the release can be installed on.
outputs_summarystring
A summary string of the outputs (e.g.,
out
,lib
,dev
) that are available for the release ]