Skip to content

Commit

Permalink
podman-bootc: init at 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode committed Jan 24, 2025
1 parent cb0b846 commit e24e6ef
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions pkgs/by-name/po/podman-bootc/package.nix
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";
};
}

0 comments on commit e24e6ef

Please sign in to comment.