2.Pkg
The type of Package or Binary
pkg_id
is to make it seamless to add multiple binaries from multiple sources for the same pkg
pkg_id
is justsrc_url
withouthttp|https
schema along with some extra paramsExample:
src_url
=
"https://
github.com
/
AppImager
/
example-appimage
" -->github.com
.
AppImager
.
example-appimage
Notice how, all special chars like
/
-->.
andhttp://|https://
was removed Another example, where the repo has multiple appimages:
alpha
--> github.com.AppImager.example-appimage.alpha
latest
--> github.com.AppImager.example-appimage.latest
nightly
--> github.com.AppImager.example-appimage.nightly
stable
--> github.com.AppImager.example-appimage.stable
It's just
$tag
or some other identifier added at last
If you don't specify a pkg_id
, the first entry of src_url
is auto converted & added as pkg_id
Dynamic denotes it is a Dynamic Binary pkg_type: "dynamic"
NixAppImage denotes it is a NixAppImage , pkg_type: "nixappimage"
Static denotes it is a Static Binary , pkg_type: "static"
Runner/Linter
will read the magic bytes to determine correct format in case this field is empty.
Last updated