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
51 lines
867 B
Nix
51 lines
867 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
dpkg,
|
|
pkg-config,
|
|
glib,
|
|
ostree,
|
|
qemu,
|
|
unzip,
|
|
nix-update-script,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "debos";
|
|
version = "1.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "go-debos";
|
|
repo = "debos";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-1Xv7r1uyISp1whALtFZWNQgTMH0swd/0+QdRCmXM4DQ=";
|
|
};
|
|
|
|
vendorHash = "sha256-FdcmitxGKzkHqFjllDGW24Lr8yrsYDBzuEDRco9CW14=";
|
|
|
|
nativeBuildInputs = [
|
|
dpkg
|
|
pkg-config
|
|
unzip
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
ostree
|
|
qemu
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
};
|
|
|
|
meta = {
|
|
description = "Tool to create Debian OS images";
|
|
homepage = "https://github.com/go-debos/debos";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ liberodark ];
|
|
mainProgram = "debos";
|
|
};
|
|
})
|