Types
Functions
Julia2Nix.read_manifest
— Functionread_manifest(::AbstractString)
Read manifest from File
Julia2Nix.write_manifest
— Functionwrite_manifest(manifest::Manifest, manifest_file::AbstractString)
Write manifest to manifest_file
Julia2Nix.read_package
— Functionread_package(path::AbstractString)
Read Package
from path. (get_file
manifest)
Julia2Nix.write_package
— Functionwrite_package(package::Package)
Write package manifest to manifest file.
Julia2Nix.get_sha256
— Functionget_sha256(args::Vector{String} = String[])
Return a Hash
by nix-prefetch args
and nix hash to-sri
Julia2Nix.get_sha256_expr
— Functionget_sha256_expr(expr::String, args::Vector{String} = String[])
Return a Hash
Add the processed expr
to args
and call get_sha256
Structs
Julia2Nix.Source
— TypePackages source Include pname
version
meta
and fetcher_args
.
Julia2Nix.Manifest
— TypeDictionary for storing source
Julia2Nix.JuNix.ArtifactInfo
— Typestruct ArtifactInfo
Fields
name
: artifact nametree_hash
: artifact hashpath
:artifact/tree_hash
arch
: aarch64, x86_64 ...os
: darwin, linux ...libc
:glibc
on linux, nothing on darwin
Julia2Nix.JuNix.Options
— Typestruct Options
Fields
nworkers
:select_fetcher
threadsarch
: aarch64, x86_64 ...os
: darwin, linux ...libc
:glibc
on linux, nothing on darwinpkg_server
: package download urlcheck_store
: whether to add the--check-store
parameter