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