base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / bo / bootc / package.nix
blob164f428b4830b34e6f38d04611c081b7702ff27b
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   libz,
6   zstd,
7   pkg-config,
8   openssl,
9   glib,
10   ostree,
11   versionCheckHook,
14 rustPlatform.buildRustPackage rec {
15   pname = "bootc";
16   version = "1.1.2";
17   cargoHash = "sha256-i8eYypTgm43Ib1HZ2e9WBLUyDAGCZPpvpzmjTS8d9e0=";
18   doInstallCheck = true;
20   src = fetchFromGitHub {
21     owner = "containers";
22     repo = "bootc";
23     rev = "v${version}";
24     hash = "sha256-p1+j62MllmPcvWnijieSZmlgwYy76X17fv12Haetz78=";
25   };
27   nativeBuildInputs = [ pkg-config ];
29   buildInputs = [
30     libz
31     zstd
32     openssl
33     glib
34     ostree
35   ];
37   nativeInstallCheckInputs = [
38     versionCheckHook
39   ];
41   meta = {
42     description = "Boot and upgrade via container images";
43     homepage = "https://containers.github.io/bootc";
44     license = lib.licenses.mit;
45     mainProgram = "bootc";
46     maintainers = with lib.maintainers; [ thesola10 ];
47     platforms = lib.platforms.linux;
48   };