Skip to content

Commit

Permalink
bootc: init at 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Thesola10 committed Nov 1, 2024
1 parent ac6691a commit 6ddfc97
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/bo/bootc/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ lib, rustPlatform, fetchFromGitHub
, libz, zstd, pkg-config, openssl, glib, ostree }:

rustPlatform.buildRustPackage rec {
pname = "bootc";
version = "1.1.0";
cargoHash = "sha256-2Ka3n6sT1RUlReNjtV6tMe4ow/M7DFNvWPZktwcEi/w=";

src = fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
hash = "sha256-vsJwJHPE5Puv9xCnDRDtHzNuFj1U7s1HzZ2vQKTavhs=";
};

nativeBuildInputs = [
pkg-config
];

buildInputs = [
libz
zstd
openssl
glib
ostree
];

meta = with lib; {
description = "Boot and upgrade via container images";
homepage = "https://containers.github.io/bootc";
license = licenses.mit;
maintainers = with maintainers; [ thesola10 ];
platforms = platforms.linux;
};
}

0 comments on commit 6ddfc97

Please sign in to comment.