11 rustPlatform.buildRustPackage rec {
15 src = fetchFromGitHub {
16 owner = "chenxiaolong";
18 rev = "refs/tags/v${version}";
19 hash = "sha256-gG8pR/D5oaPPqq0e815J6z+dDVxh4VSoHIm1Yl3x2p4=";
23 lockFile = ./Cargo.lock;
25 "bzip2-0.4.4" = "sha256-9YKPFvaGNdGPn2mLsfX8Dh90vR+X4l3YSrsz0u4d+uQ=";
26 "zip-0.6.6" = "sha256-oZQOW7xlSsb7Tw8lby4LjmySpWty9glcZfzpPuQSSz0=";
35 buildInputs = [ bzip2 ];
38 description = "Sign (and root) Android A/B OTAs with custom keys while preserving Android Verified Boot";
39 homepage = "https://github.com/chenxiaolong/avbroot";
40 changelog = "https://github.com/chenxiaolong/avbroot/blob/${src.rev}/CHANGELOG.md";
41 license = lib.licenses.gpl3Only;
42 maintainers = with lib.maintainers; [ oluceps ];
43 mainProgram = "avbroot";