13 src = fetchFromGitHub {
14 owner = "cruise-automation";
17 sha256 = "sha256-fcqtyfpxdjD+1GsYl05RSJaFDoLSYQDdWcQV6a+vNGA=";
20 vendorHash = "sha256-nLr12VQogr4nV9E/DJu2XTcgEi7GsOdOn/ZqVk7HS7I=";
22 subPackages = [ "cmd/${pname}" ];
24 nativeBuildInputs = [ makeWrapper ];
27 wrapProgram "$out/bin/fwanalyzer" --prefix PATH : "${lib.makeBinPath [ e2tools mtools ]}"
30 # The tests requires an additional setup (unpacking images, etc.)
34 description = "Tool to analyze filesystem images";
35 homepage = "https://github.com/cruise-automation/fwanalyzer";
36 license = with licenses; [ asl20 ];
37 maintainers = with maintainers; [ fab ];
38 mainProgram = "fwanalyzer";