12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-t4FdTFXbKs7Xfw8dKoME7WDn+Fpe/uHPXyr5Wj+AXSA=";
23 cargoHash = "sha256-lBGcS1+CBYeVIG546aHSBVJ9y96rB3IDDVJPqCFUDZQ=";
25 OPENSSL_NO_VENDOR = true;
27 nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
28 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ]
29 ++ lib.optionals stdenv.hostPlatform.isDarwin [ libiconv Security SystemConfiguration ];
31 checkFlags = [ "--skip=tests::cli" ];
33 passthru.updateScript = nix-update-script { };
36 description = "Bundle any web page into a single HTML file";
37 mainProgram = "monolith";
38 homepage = "https://github.com/Y2Z/monolith";
39 license = licenses.cc0;
40 platforms = lib.platforms.unix;
41 broken = stdenv.isDarwin;
42 maintainers = with maintainers; [ Br1ght0ne ];