-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cb0b846
commit e24e6ef
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
lib, | ||
buildGoModule, | ||
fetchFromGitHub, | ||
libisoburn, | ||
libvirt, | ||
pkg-config, | ||
}: | ||
|
||
buildGoModule rec { | ||
pname = "podman-bootc"; | ||
version = "0.1.2"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "containers"; | ||
repo = "podman-bootc"; | ||
rev = "v${version}"; | ||
hash = "sha256-Hxg2QSedPAWYZpuesUEFol9bpTppjB0/MpCcB+txMDc="; | ||
}; | ||
|
||
vendorHash = "sha256-8QP4NziLwEo0M4NW5UgSEMAVgBDxmnE+PLbpyclK9RQ="; | ||
|
||
tags = [ | ||
"exclude_graphdriver_btrfs" | ||
"btrfs_noversion" | ||
"exclude_graphdriver_devicemapper" | ||
"containers_image_openpgp" | ||
"remote" | ||
]; | ||
|
||
nativeBuildInputs = [ pkg-config ]; | ||
buildInputs = [ libvirt libisoburn ]; | ||
|
||
# All tests depend on booting virtual machines, which is infeasible here. | ||
doCheck = false; | ||
|
||
meta = { | ||
description = "Streamlining podman+bootc interactions"; | ||
homepage = "https://github.com/containers/podman-bootc"; | ||
maintainers = with lib.maintainers; [ evan-goode ]; | ||
license = lib.licenses.asl20; | ||
# x86_64-darwin does not seem to be supported at this time: | ||
# https://github.com/containers/podman-bootc/issues/46 | ||
platforms = [ | ||
"aarch64-linux" | ||
"aarch64-darwin" | ||
"x86_64-linux" | ||
]; | ||
mainProgram = "podman-bootc"; | ||
}; | ||
} |