9 rustPlatform.buildRustPackage rec {
13 src = fetchFromGitHub {
17 hash = "sha256-fi4W7Z32S30kzKNVEDbV8PRyTW9fZxumBGtLn8SkI5Y=";
20 cargoHash = "sha256-ma7JVbWSiKfkCXCDwA8DFm2+KPrWR+8nSdgGSqehNg8=";
23 LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib";
27 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
28 with darwin.apple_sdk.frameworks; [
36 RUSTFLAGS = "--cfg tracing_unstable";
39 description = "User-friendly, lightweight TUI for disk imaging";
40 homepage = "https://github.com/ifd3f/caligula/";
41 license = licenses.gpl3Only;
42 maintainers = with maintainers; [ ifd3f sodiboo ];
43 platforms = platforms.linux ++ platforms.darwin;
44 mainProgram = "caligula";