Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
985 B
Nix
33 lines
985 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) options types;
|
|
in
|
|
options.mkOption {
|
|
description = "Package in the manifest";
|
|
example = (import ./release.nix { inherit lib; }).linux-x86_64;
|
|
type = types.submodule {
|
|
options = {
|
|
relative_path = options.mkOption {
|
|
description = "Relative path to the package";
|
|
example = "cuda_cccl/linux-x86_64/cuda_cccl-linux-x86_64-11.5.62-archive.tar.xz";
|
|
type = types.str;
|
|
};
|
|
sha256 = options.mkOption {
|
|
description = "Sha256 hash of the package";
|
|
example = "bbe633d6603d5a96a214dcb9f3f6f6fd2fa04d62e53694af97ae0c7afe0121b0";
|
|
type = types.str;
|
|
};
|
|
md5 = options.mkOption {
|
|
description = "Md5 hash of the package";
|
|
example = "e5deef4f6cb71f14aac5be5d5745dafe";
|
|
type = types.str;
|
|
};
|
|
size = options.mkOption {
|
|
description = "Size of the package as a string";
|
|
type = types.str;
|
|
example = "960968";
|
|
};
|
|
};
|
|
};
|
|
}
|